OrientedBoundingRect Class
Name | Description | |
---|---|---|
OrientedBoundingRect(OrientedBoundingRect) | Defines an OrientedBoundingBox from another one. | |
OrientedBoundingRect(IList<Point2D>) | Defines an OrientedBoundingRect from a list of Point2D. | |
OrientedBoundingRect(IList<Point2D>, Vector2D, Vector2D) | Defines an OrientedBoundingRect from a list of Point2D by forcing the input axis-X and axis-Y orientation. | |
OrientedBoundingRect(Point2D, Vector2D, Vector2D, double, double) | Defines an OrientedBoundingBox with axis-X and axis-Y orientation. | |
OrientedBoundingRect(Point2D, double, double) | Defines an OrientedBoundingBox with World-Axis-Aligned transformation. |
Name | Description | |
---|---|---|
AccumulatedTransformation | Gets the global transformation given by the transformation of the parents entity (if entity is a BlockReference or is into one of it). | |
Size | The size-box. | |
Transformation | the Oriented Bounding Box transformation that defines its orientation from the world-axes. |
Name | Description | |
---|---|---|
AccumulateTransformation(Transformation) | Adds transformation to the global transformation. | |
Clone() | Creates a deep copy of this oriented bounding rect. | |
DoOverlap(OrientedBoundingRect, OrientedBoundingRect) | Checks if two Oriented Bounding Boxes overlap each other. | |
DoOverlapOrTouch(OrientedBoundingRect, OrientedBoundingRect) | Checks if two Oriented Bounding Boxes overlap or touch each other. | |
DoOverlapOrTouchInternal(OrientedBoundingRect, OrientedBoundingRect, bool) | ||
Equals(Object) | Determines whether the specified object is equal to the current object. (inherited from Object). | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (inherited from Object). | |
GetAxis() | Gets the 3-axis defining the direction of the OrientedBoundingBox | |
GetFullTransformation() | Gets the OrientedBoundingBox transformation combined with the global transformation. | |
GetHashCode | Serves as the default hash function. (inherited from Object). | |
GetOrigin() | Gets the Origin position of the OrientedBoundingBox. | |
GetType | Gets the Type of the current instance. (inherited from Object). | |
GetVertices() | Gets the 8-vertices of the OrientedBoundingBox. | |
MemberwiseClone | Creates a shallow copy of the current Object. (inherited from Object). | |
ToString | Returns a string that represents the current object. (inherited from Object). | |
UpdateAxis() | ||
UpdateData() | Updates the data of the OrientedBoundingBox needed during collision/intersection check among others OrientedBoundingBoxes. | |
UpdateOrigin() | ||
projectVerticesOnAxis(Point2D[], Vector2D, out double, out double) |
Name | Description | |
---|---|---|
TOLERANCE | ||
_accumulatedTrans | ||
_axis | ||
_componentX | ||
_componentY | ||
_origin | ||
_transformation | ||
needToUpdate |
The result is not guaranteed to be the minimum Oriented Bounding Box possible.