fromDimensions
fun fromDimensions(options: BoxOutlineGeometry.Companion.FromDimensionsOptions): BoxOutlineGeometry(source)
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);
Content copied to clipboard