fromAxisAlignedBoundingBox

Creates an outline of a cube from the dimensions of an AxisAlignedBoundingBox.

const aabb = AxisAlignedBoundingBox.fromPoints(Cartesian3.fromDegreesArray([
-72.0, 40.0,
-70.0, 35.0,
-75.0, 30.0,
-70.0, 30.0,
-68.0, 40.0
]));
const box = BoxOutlineGeometry.fromAxisAlignedBoundingBox(aabb);

Parameters

boundingBox

A description of the AxisAlignedBoundingBox.

See also