new BoxOutlineGeometry
A description of the outline of a cube centered at the origin.
Parameters:
| Name | Type | Description | 
|---|---|---|
| options.minimumCorner | Cartesian3 | The minimum x, y, and z coordinates of the box. | 
| options.maximumCorner | Cartesian3 | The maximum x, y, and z coordinates of the box. | 
Throws:
- 
DeveloperError : options.minimumCorner is required.
- 
DeveloperError : options.maximumCorner is required.
Example
var box = new BoxOutlineGeometry({
  maximumCorner : new Cartesian3(250000.0, 250000.0, 250000.0),
  minimumCorner : new Cartesian3(-250000.0, -250000.0, -250000.0)
});
var geometry = BoxOutlineGeometry.createGeometry(box);
    
	
	
- BoxOutlineGeometry#fromDimensions
- BoxOutlineGeometry#createGeometry
See:
Source:
Methods
- 
    <static> createGeometry
- 
    
    
    Computes the geometric representation of an outline of a box, including its vertices, indices, and a bounding sphere. Parameters:Name Type Description boxGeometryBoxOutlineGeometry A description of the box outline. Returns:Geometry The computed vertices and indices.
- 
    <static> fromDimensions
- 
    
    
    Creates an outline of a cube centered at the origin given its dimensions. Parameters:Name Type Description options.dimensionsCartesian3 The width, depth, and height of the box stored in the x, y, and z coordinates of the Cartesian3, respectively.Throws:- 
DeveloperError : options.dimensions is required.
- 
DeveloperError : All dimensions components must be greater than or equal to zero.
 Examplevar box = BoxOutlineGeometry.fromDimensions({ dimensions : new Cartesian3(500000.0, 500000.0, 500000.0) }); var geometry = BoxOutlineGeometry.createGeometry(box);- BoxOutlineGeometry#createGeometry
 See:
- 
