|
IBrepGetBoundingBox Method
|
Boundingbox solver. Gets the world axis aligned boundingbox for the geometry.
Namespace:
Karamba.Geometry
Assembly:
KarambaCommon (in KarambaCommon.dll) Version: 2.2.0.4 (2.2.0.4)
SyntaxBoundingBox3 GetBoundingBox(
bool accurate
)
Function GetBoundingBox (
accurate As Boolean
) As BoundingBox3
BoundingBox3 GetBoundingBox(
bool accurate
)
abstract GetBoundingBox :
accurate : bool -> BoundingBox3
Parameters
- accurate
- Type: SystemBoolean
If true, a physically accurate boundingbox will be computed.
If not, a boundingbox estimate will be computed. For some geometry types there is no
difference between the estimate and the accurate boundingbox. Estimated boundingboxes
can be computed much (much) faster than accurate (or "tight") bounding boxes.
Estimated bounding boxes are always similar to or larger than accurate bounding boxes.
Return Value
Type:
BoundingBox3
The boundingbox of the geometry in world coordinates or BoundingBox.Empty
if not bounding box could be found.
See Also