v4.1

Bounding box. More...

Public Member Functions

 BoundingBox (Point3D point1, Point3D point2)
 Constructor.
number GetMinX ()
 Returns the minimum on the X axis.
number GetMinY ()
 Returns the minimum on the Y axis.
number GetMinZ ()
 Returns the minimum on the Z axis.
number GetMaxX ()
 Returns the maximum on the X axis.
number GetMaxY ()
 Returns the maximum on the Y axis.
number GetMaxZ ()
 Returns the maximum on the Z axis.
Point3D GetCenter ()
 Returns the bounding box center point.
number GetWidth ()
 Returns the width of the bounding box.
number GetDepth ()
 Returns the depth of the bounding box.
number GetHeight ()
 Returns the height of the bounding box.

Detailed Description

Bounding box.

The bounding box indicates the overall dimensions of the object in three dimensional space.

Since
v4.0

Constructor & Destructor Documentation

◆ BoundingBox()

BoundingBox ( Point3D point1,
Point3D point2 )

Constructor.

Parameters
point1The bottom left corner of the box.
point2The top right corner of the box.