Skip to content
This repository has been archived by the owner on Oct 11, 2023. It is now read-only.

c8c9bec6 6a01 f86a 9f6a 78745eec133b

haplokuon edited this page May 6, 2023 · 1 revision

BoundingRectangle Class

netDxf 3.0.0 Library

Represents an axis aligned bounding rectangle.

Definition

Namespace: netDxf
Assembly: netDxf (in netDxf.dll) Version: 3.0.0

C#

public class BoundingRectangle

VB

Public Class BoundingRectangle

C++

public ref class BoundingRectangle

F#

type BoundingRectangle = class end
Inheritance Object → BoundingRectangle

Constructors

BoundingRectangle(IEnumerable(Vector2)) Initializes a new axis aligned bounding rectangle.
BoundingRectangle(Vector2, Vector2) Initializes a new axis aligned bounding rectangle.
BoundingRectangle(Vector2, Double) Initializes a new axis aligned bounding rectangle from a circle.
BoundingRectangle(Vector2, Double, Double) Initializes a new axis aligned bounding rectangle.
BoundingRectangle(Vector2, Double, Double, Double) Initializes a new axis aligned bounding rectangle from a rotated ellipse.

Properties

Center Gets the bounding rectangle center.
Height Gets the bounding rectangle height.
Max Gets or sets the bounding rectangle upper-right corner.
Min Gets or sets the bounding rectangle lower-left corner.
Radius Gets the radius of the circle that contains the bounding rectangle.
Width Gets the bounding rectangle width.

Methods

Equals Determines whether the specified object is equal to the current object.
(Inherited from Object)
GetHashCode Serves as the default hash function.
(Inherited from Object)
GetType Gets the Type of the current instance.
(Inherited from Object)
PointInside Checks if a point is inside the bounding rectangle.
ToString Returns a string that represents the current object.
(Inherited from Object)
Union(IEnumerable(BoundingRectangle)) Obtains the union of a bounding rectangles list.
Union(BoundingRectangle, BoundingRectangle) Obtains the union between two bounding rectangles.

See Also

Reference

netDxf Namespace

Clone this wiki locally