IBrepGetBoundingBox Method

Boundingbox solver. Gets the world axis aligned boundingbox for the geometry.

Definition

Namespace: Karamba.Geometry
Assembly: KarambaCommon (in KarambaCommon.dll) Version: 3.0.8.0+eb23a7103f0eca0b6d808121e15fec6899194e15
C#
BoundingBox3 GetBoundingBox(
	bool accurate
)

Parameters

accurate  Boolean
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

BoundingBox3
The boundingbox of the geometry in world coordinates or BoundingBox.Empty if not bounding box could be found.

See Also