the reference in which the oriented box is defined. Due to the cartesian nature of this shape, it is not available for geodetic references
the location of the corner of the box with minimal x, y and z values
the size of the oriented box
2021.1
Creates an OrientedBox resulting from a base box with given location and dimensions, transformed by the given transformation.
const center = createPoint(getReference("CRS:84"), [4, 51, 0]);
const width = 10;
const depth = 12;
const height = 15;
const transformation = createTransformationFromGeoLocation(center);
const centeredBox = createOrientedBox(transformation, {x: -width / 2, y: -depth / 2, z: -height / 2}, {x: width, y: depth, z: height});
the transformation applied to the base box to get the resulting box
the location of the corner of the base box with minimal x, y and z values
the size of the base box
2021.1
Creates an axis-aligned OrientedBox with given location and dimensions.