classCircleOutlineGeometry extends Object with Packable
A description of the outline of a circle on the ellipsoid.
alias CircleOutlineGeometry
- The options object takes the following properties
- {Cartesian3} options.center The circle's center point in the fixed frame.
- {Number} options.radius The radius in meters.
- {Ellipsoid} [options.ellipsoid=Ellipsoid.WGS84] The ellipsoid the circle will be on.
- {Number} [options.height=0.0] The distance in meters between the circle and the ellipsoid surface.
- {Number} [options.granularity=0.02] The angular distance between points on the circle in radians.
- {Number} [options.extrudedHeight=0.0] The distance in meters between the circle's extruded face and the ellipsoid surface.
- {Number} [options.numberOfVerticalLines=16] Number of lines to draw between the top and bottom of an extruded circle.
exception {DeveloperError} radius must be greater than zero.
exception {DeveloperError} granularity must be greater than zero.
// Create a circle.
var circle = new Cesium.CircleOutlineGeometry({
center : Cesium.Cartesian3.fromDegrees(-75.59777, 40.03883),
radius : 100000.0
});
var geometry = Cesium.CircleOutlineGeometry.createGeometry(circle);
A description of the outline of a circle on the ellipsoid.
alias CircleOutlineGeometry
- The options object takes the following properties - {Cartesian3} options.center The circle's center point in the fixed frame. - {Number} options.radius The radius in meters. - {Ellipsoid} [options.ellipsoid=Ellipsoid.WGS84] The ellipsoid the circle will be on. - {Number} [options.height=0.0] The distance in meters between the circle and the ellipsoid surface. - {Number} [options.granularity=0.02] The angular distance between points on the circle in radians. - {Number} [options.extrudedHeight=0.0] The distance in meters between the circle's extruded face and the ellipsoid surface. - {Number} [options.numberOfVerticalLines=16] Number of lines to draw between the top and bottom of an extruded circle.
exception {DeveloperError} radius must be greater than zero. exception {DeveloperError} granularity must be greater than zero.
// Create a circle. var circle = new Cesium.CircleOutlineGeometry({ center : Cesium.Cartesian3.fromDegrees(-75.59777, 40.03883), radius : 100000.0 }); var geometry = Cesium.CircleOutlineGeometry.createGeometry(circle);
Packable
CircleOutlineGeometry.createGeometry