This is the BoundBox export class Bound box class A bounding box is an orthographic cube which is a way to describe outer boundaries. You get a bounding box from a lot of 3D types. It is often used to check if a 3D entity lies in the range of another object. Checking for boundig interference first can save a lot of computing time! Constructor: App.BoundBox([Xmin,Ymin,Zmin,Xmax,Ymax,Zmax]) App.BoundBox(Tuple, Tuple) App.BoundBox(Vector, Vector) App.BoundBox(BoundBox) method add(BoundBox) Add (enlarge) the given BoundBox method isIntersection(Vector|BoundBox|Vector Base, Vector Dir) Checks if the given object intersects with the BoundBox. That can be: - A Vector (Point) - Another BoundBox - A line, specified by Base and Dir method enlarge(Float) Enlarge the BoundBox by the given value in each direction. A negative value shrinks the box. method Vector getIntersectionPoint(Vector Base, Vector Dir, [float epsilon=0.0001]) Calculate the intersection point of a line with the BoundBox The Base point must lie inside the bounding box, if not an exception is thrown. method getIntersectionPoint(Vector) Move the BoundBox by the given vector method bool isCutPlane(Vector Base, Vector Normal) Check if the plane specified by Base and Normal intersects (cuts) the BoundBox method bool isInside(Vector Base|BoundBox box) Check if the point or bounding box is inside this bounding box Center point of the bounding box The maximum x boundary position The maximum y boundary position The maximum z boundary position The minimum x boundary position The minimum y boundary position The minimum z boundary position Length of the BoundBox in x direction Length of the BoundBox in y direction Length of the BoundBox in z direction Diagonal length of the BoundBox