A description of the outline of a cube centered at the origin.
    
| Name | Type | Description | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
options | 
            Object | 
                Object with the following properties:
  | 
        
Example:
var box = new SuperMap3D.BoxOutlineGeometry({
  maximum : new SuperMap3D.Cartesian3(250000.0, 250000.0, 250000.0),
  minimum : new SuperMap3D.Cartesian3(-250000.0, -250000.0, -250000.0)
});
var geometry = SuperMap3D.BoxOutlineGeometry.createGeometry(box);
    See:
Members
- 
    The number of elements used to pack the object into an array.
 
Methods
- 
    
staticSuperMap3D.BoxOutlineGeometry.createGeometry(boxGeometry) → Geometry|undefined
 - 
    Computes the geometric representation of an outline of a box, including its vertices, indices, and a bounding sphere.
Name Type Description boxGeometryBoxOutlineGeometry A description of the box outline. Returns:
The computed vertices and indices. - 
    
staticSuperMap3D.BoxOutlineGeometry.fromAxisAlignedBoundingBox(boundingBox) → BoxOutlineGeometry
 - 
    Creates an outline of a cube from the dimensions of an AxisAlignedBoundingBox.
Name Type Description boundingBoxAxisAlignedBoundingBox A description of the AxisAlignedBoundingBox. Returns:
Example:
var aabb = SuperMap3D.AxisAlignedBoundingBox.fromPoints(SuperMap3D.Cartesian3.fromDegreesArray([ -72.0, 40.0, -70.0, 35.0, -75.0, 30.0, -70.0, 30.0, -68.0, 40.0 ])); var box = SuperMap3D.BoxOutlineGeometry.fromAxisAlignedBoundingBox(aabb);See:
 - 
    
staticSuperMap3D.BoxOutlineGeometry.fromDimensions(options) → BoxOutlineGeometry
 - 
    Creates an outline of a cube centered at the origin given its dimensions.
Name Type Description optionsObject Object with the following properties: Name Type Description dimensionsCartesian3 The width, depth, and height of the box stored in the x, y, and z coordinates of the Cartesian3, respectively.Returns:
Throws:
- 
    DeveloperError : All dimensions components must be greater than or equal to zero.
 
Example:
var box = SuperMap3D.BoxOutlineGeometry.fromDimensions({ dimensions : new SuperMap3D.Cartesian3(500000.0, 500000.0, 500000.0) }); var geometry = SuperMap3D.BoxOutlineGeometry.createGeometry(box);See:
 - 
    
 - 
    Stores the provided instance into the provided array.
Name Type Default Description valueBoxOutlineGeometry The value to pack. arrayArray.<Number> The array to pack into. startingIndexNumber 0optional The index into the array at which to start packing the elements. Returns:
The array that was packed into - 
    
staticSuperMap3D.BoxOutlineGeometry.unpack(array, startingIndex, result) → BoxOutlineGeometry
 - 
    Retrieves an instance from a packed array.
Name Type Default Description arrayArray.<Number> The packed array. startingIndexNumber 0optional The starting index of the element to be unpacked. resultBoxOutlineGeometry optional The object into which to store the result. Returns:
The modified result parameter or a new BoxOutlineGeometry instance if one was not provided. 
