ImFusion Web SDK

AlignedBox

Class representing an axis aligned rectangular cuboid in 3D space.

The coordinate convention for this class is bottom <= top, left <= right, front <= back, all of which are enforced in the constructor.

A default-constructed AlignedBox is considered "invalid" and represented by both lowerLeftFront() and upperRightBack() being NaN. Use isValid() to easily check for this.

Extends

Methods

Inherited from ClassHandle

MethodDescription
isAliasOf()Returns true if this handle and other alias the same underlying C++ object.
delete()Releases this JavaScript handle.
deleteLater()Schedules this handle for deferred deletion and returns this handle.
isDeleted()Returns true if this handle has already been deleted.
[dispose]()Releases this handle when the enclosing scope exits, so a handle can be declared with using instead of calling delete() later manually.
clone()Returns a new JavaScript handle aliasing the same underlying C++ object.

On this page