new EllipsoidOutlineGeometry(options)
A description of the outline of an ellipsoid centered at the origin.
Name | Type | Description | ||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
Object |
optional
Object with the following properties:
|
Throws:
-
DeveloperError : options.stackPartitions must be greater than or equal to one.
-
DeveloperError : options.slicePartitions must be greater than or equal to zero.
-
DeveloperError : options.subdivisions must be greater than or equal to zero.
Example:
var ellipsoid = new Cesium.EllipsoidOutlineGeometry({
radii : new Cesium.Cartesian3(1000000.0, 500000.0, 500000.0),
stackPartitions: 6,
slicePartitions: 5
});
var geometry = Cesium.EllipsoidOutlineGeometry.createGeometry(ellipsoid);
Demo:
Methods
-
staticEllipsoidOutlineGeometry.createGeometry(ellipsoidGeometry) → Geometry
-
Computes the geometric representation of an outline of an ellipsoid, including its vertices, indices, and a bounding sphere.
Name Type Description ellipsoidGeometry
EllipsoidOutlineGeometry A description of the ellipsoid outline. Returns:
The computed vertices and indices.