Click or drag to resize

BoundingRectangle Class

imbVeles Framework: imbSCI | imbACE | imbNLP | imbWEM | imbWBI
Represents an axis aligned bounding rectangle.
Inheritance Hierarchy
SystemObject
  netDxfBoundingRectangle

Namespace:  netDxf
Assembly:  netDXF.Standard (in netDXF.Standard.dll) Version: 2.1.1
Syntax
C#
public class BoundingRectangle
Request Example View Source

The BoundingRectangle type exposes the following members.

Constructors
  NameDescription
Public methodBoundingRectangle(IEnumerableVector2)
Initializes a new axis aligned bounding rectangle.
Public methodBoundingRectangle(Vector2, Vector2)
Initializes a new axis aligned bounding rectangle.
Public methodBoundingRectangle(Vector2, Double)
Initializes a new axis aligned bounding rectangle from a circle.
Public methodBoundingRectangle(Vector2, Double, Double)
Initializes a new axis aligned bounding rectangle.
Public methodBoundingRectangle(Vector2, Double, Double, Double)
Initializes a new axis aligned bounding rectangle from a rotated ellipse.
Top
Properties
  NameDescription
Public propertyCenter
Gets the bounding rectangle center.
Public propertyHeight
Gets the bounding rectangle height.
Public propertyMax
Gets or sets the bounding rectangle upper-right corner.
Public propertyMin
Gets or sets the bounding rectangle lower-left corner.
Public propertyRadius
Gets the radius of the circle that contains the bounding rectangle.
Public propertyWidth
Gets the bounding rectangle width.
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodPointInside
Checks if a point is inside the bounding rectangle.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodStatic memberUnion(IEnumerableBoundingRectangle)
Obtains the union of a bounding rectangles list .
Public methodStatic memberUnion(BoundingRectangle, BoundingRectangle)
Obtains the union between two bounding rectangles.
Top
See Also