fromDimensions

Creates an outline of a cube centered at the origin given its dimensions.

const box = BoxOutlineGeometry.fromDimensions({
dimensions : new Cartesian3(500000.0, 500000.0, 500000.0)
});
const geometry = BoxOutlineGeometry.createGeometry(box);

See also