Computes the oriented box that bounds all vertices.
XSpaceUtilityComputeVerticesOBB(IXVertexArray, XConvexHullSolver)
Namespace:
SGP.XSpaceAssembly: SGPRTL (in SGPRTL.dll)
Version: 1.2.3019.18825
Syntax
C# |
---|
public static XOrientedBox ComputeVerticesSimpleOBB( IXVertexArray vertices ) |
Parameters
- vertices
- Type: SGP.XSpace..::.IXVertexArray
Vertices.
Return Value
Oriented bounding box.
Remarks
For computation all vertices will be used so the oriented box is not supposed to be minimal.
Exceptions
Exception | Condition |
---|---|
System..::.ArgumentNullException | vertices is nullNothingnullptra null reference (Nothing in Visual Basic). |
See Also
XSpaceUtilityComputeVerticesOBB(IXVertexArray, XConvexHullSolver)