Skip to content

CSMath.BoundingBox

Albert Domenech edited this page Oct 24, 2024 · 7 revisions

BoundingBox Class

Bounding box representation aligned to XYZ axis.

Definition

Namespace: CSMath

C#

public sealedstruct BoundingBox

Properties

Returns Name Summary
XYZ Center Center of the box.
BoundingBoxExtent Extent
Double Height
XYZ Max Get the max corner of the bounding box.
XYZ Min Get the min corner of the bounding box.
Double Width

Methods

Returns Name Summary
Boolean IsIn(CSMath.BoundingBox, System.Boolean@) Checks if the given box is in the bounds of this box.
Boolean IsIn(CSMath.BoundingBox) Checks if the given box is in the bounds of this box.
Boolean IsIn(CSMath.XYZ) Checks if the point is in the bounds of the box.
BoundingBox Merge(CSMath.BoundingBox) Merge 2 boxes into the common one.
BoundingBox Move(CSMath.XYZ) Move the bounding box the amount of specified units.
Clone this wiki locally