Description:
Gets a world XY-plane aligned tight bounding box from a collection of Rhino objects.
Syntax:
public static bool GetTightBoundingBox(
IEnumerable<RhinoObject> rhinoObjects,
out BoundingBox boundingBox
)
IEnumerable<RhinoObject> rhinoObjects,
out BoundingBox boundingBox
)
Parameters:
- rhinoObjects
- Type: IEnumerable<RhinoObject>
- A collection of Rhino objects.
- boundingBox
- Type: BoundingBox
- A tight bounding box.
Returns:
Type: bool
Available since:
7.0
Description:
Gets a plane aligned tight bounding box from a collection of Rhino objects.
Syntax:
public static bool GetTightBoundingBox(
IEnumerable<RhinoObject> rhinoObjects,
Plane plane,
out BoundingBox boundingBox
)
IEnumerable<RhinoObject> rhinoObjects,
Plane plane,
out BoundingBox boundingBox
)
Parameters:
- rhinoObjects
- Type: IEnumerable<RhinoObject>
- A collection of Rhino objects.
- plane
- Type: Plane
- A valid alignment plane.
- boundingBox
- Type: BoundingBox
- A tight bounding box.
Returns:
Type: bool
Available since:
7.0
Description:
Get tight bounding box of this Rhino object. The Rhino object is not modified.
Syntax:
protected
virtual
Parameters:
- tightBox
- Type: BoundingBox
- Beginning and resulting tight box
- growBox
- Type: bool
- 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: Transform
- If useXform==true, the tight bounding box of the transformed Rhino object is calculated.
Returns:
Type: bool
True if the returned tight_bbox is set to a valid bounding box.