A description of the outline of an ellipsoid centered at the origin.
alias EllipsoidOutlineGeometry
- The options object takes the following properties
- {Cartesian3} [options.radii=Cartesian3(1.0, 1.0, 1.0)] The radii of the ellipsoid in the x, y, and z directions.
- {Number} [options.stackPartitions=10] The count of stacks for the ellipsoid (1 greater than the number of parallel lines).
- {Number} [options.slicePartitions=8] The count of slices for the ellipsoid (Equal to the number of radial lines).
- {Number} [options.subdivisions=128] The number of points per line, determining the granularity of the curvature .
exception {DeveloperError} options.stackPartitions must be greater than or equal to one.
exception {DeveloperError} options.slicePartitions must be greater than or equal to zero.
exception {DeveloperError} options.subdivisions must be greater than or equal to zero.
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);
A description of the outline of an ellipsoid centered at the origin.
alias EllipsoidOutlineGeometry
- The options object takes the following properties - {Cartesian3} [options.radii=Cartesian3(1.0, 1.0, 1.0)] The radii of the ellipsoid in the x, y, and z directions. - {Number} [options.stackPartitions=10] The count of stacks for the ellipsoid (1 greater than the number of parallel lines). - {Number} [options.slicePartitions=8] The count of slices for the ellipsoid (Equal to the number of radial lines). - {Number} [options.subdivisions=128] The number of points per line, determining the granularity of the curvature .
exception {DeveloperError} options.stackPartitions must be greater than or equal to one. exception {DeveloperError} options.slicePartitions must be greater than or equal to zero. exception {DeveloperError} options.subdivisions must be greater than or equal to zero.
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);