JSAABBox3D

Defines the spatial location of a box (cuboid) in 3D space and calls related APIs.

Creates a new Module.JSAABBox3D API.

When creating a JSAABBox3D, default values for min and max are set to JSVector3D(0.0, 0.0, 0.0), JSVector3D(0.0, 0.0, 0.0).

let min = new Module.JSVector3D(129.14, 35.18, 100.0);
let max = new Module.JSVector3D(129.18, 35.189, 200.0);

let boxDefault = new Module.JSAABBox3D(); // Both min and max are JSVector3D(0.0, 0.0, 0.0)

let boxWithMinMax = new Module.JSAABBox3D(min, max);

properties

Name
Type
Description

min

Minimum spatial coordinates

max

Maximum spatial coordinates

Last updated