Click or drag to resize

RhinoObjectGetTightBoundingBox Method (BoundingBox, Boolean, Transform)

Get tight bounding box of this Rhino object. The Rhino object is not modified.

Namespace:  Rhino.DocObjects
Assembly:  RhinoCommon (in RhinoCommon.dll)
Syntax
protected virtual bool GetTightBoundingBox(
	ref BoundingBox tightBox,
	bool growBox,
	Transform xform
)

Parameters

tightBox
Type: Rhino.GeometryBoundingBox
Beginning and resulting tight box
growBox
Type: SystemBoolean
If true and the input tight_bbox is valid, then returned tight_bbox is the union of the input tight_bbox and the tight bounding box of this Rhino object.
xform
Type: Rhino.GeometryTransform
If useXform==true, the tight bounding box of the transformed Rhino object is calculated.

Return Value

Type: Boolean
true if the returned tight_bbox is set to a valid bounding box.
See Also