OrientedBoundingBox Class
Name | Description | |
---|---|---|
OrientedBoundingBox(OrientedBoundingBox) | Defines an OrientedBoundingBox from another one. | |
OrientedBoundingBox(IList<Point2D>) | Defines an OrientedBoundingBox from a list of Point3D. | |
OrientedBoundingBox(IList<Point2D>, Vector3D, Vector3D) | Defines an OrientedBoundingBox from a list of Point3D by forcing the input axis-X and axis-Y orientation. | |
OrientedBoundingBox(Point3D, Vector3D, Vector3D, double, double, double) | Defines an OrientedBoundingBox with axis-X and axis-Y orientation. | |
OrientedBoundingBox(Point3D, double, 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). (inherited from OrientedBoundingRect). | |
Size | The size-box. | |
Transformation | the Oriented Bounding Box transformation that defines its orientation from the world-axes. (inherited from OrientedBoundingRect). |
Name | Description | |
---|---|---|
AccumulateTransformation(Transformation) | Adds transformation to the global transformation. (inherited from OrientedBoundingRect). | |
Clone() | Creates a deep copy of this oriented bounding box. | |
DoOverlap(OrientedBoundingBox, OrientedBoundingBox) | Checks if two Oriented Bounding Boxes overlap each other. | |
DoOverlapOrTouch(OrientedBoundingBox, OrientedBoundingBox) | Checks if two Oriented Bounding Boxes overlap or touch each other. | |
DoOverlapOrTouchInternal(OrientedBoundingBox, OrientedBoundingBox, 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. (inherited from OrientedBoundingRect). | |
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. (inherited from OrientedBoundingRect). | |
UpdateOrigin() | ||
projectVerticesOnAxis(Point2D[], Vector2D, out double, out double) | (inherited from OrientedBoundingRect). |
Name | Description | |
---|---|---|
_accumulatedTrans | (inherited from OrientedBoundingRect). | |
_axis | (inherited from OrientedBoundingRect). | |
_componentX | (inherited from OrientedBoundingRect). | |
_componentY | (inherited from OrientedBoundingRect). | |
_componentZ | ||
_origin | (inherited from OrientedBoundingRect). | |
_transformation | (inherited from OrientedBoundingRect). | |
needToUpdate | (inherited from OrientedBoundingRect). |
The result is not guaranteed to be the minimum Oriented Bounding Box possible.