A description of the outline of an ellipse on an ellipsoid.
alias EllipseOutlineGeometry
- The options object takes the following properties
- {Cartesian3} options.center The ellipse's center point in the fixed frame.
- {Number} options.semiMajorAxis The length of the ellipse's semi-major axis in meters.
- {Number} options.semiMinorAxis The length of the ellipse's semi-minor axis in meters.
- {Ellipsoid} [options.ellipsoid=Ellipsoid.WGS84] The ellipsoid the ellipse will be on.
- {Number} [options.height=0.0] The distance in meters between the ellipse and the ellipsoid surface.
- {Number} [options.extrudedHeight] The distance in meters between the ellipse's extruded face and the ellipsoid surface.
- {Number} [options.rotation=0.0] The angle from north (counter-clockwise) in radians.
- {Number} [options.granularity=0.02] The angular distance between points on the ellipse in radians.
- {Number} [options.numberOfVerticalLines=16] Number of lines to draw between the top and bottom surface of an extruded ellipse.
exception {DeveloperError} semiMajorAxis and semiMinorAxis must be greater than zero.
exception {DeveloperError} semiMajorAxis must be greater than or equal to the semiMinorAxis.
exception {DeveloperError} granularity must be greater than zero.
A description of the outline of an ellipse on an ellipsoid.
alias EllipseOutlineGeometry
- The options object takes the following properties - {Cartesian3} options.center The ellipse's center point in the fixed frame. - {Number} options.semiMajorAxis The length of the ellipse's semi-major axis in meters. - {Number} options.semiMinorAxis The length of the ellipse's semi-minor axis in meters. - {Ellipsoid} [options.ellipsoid=Ellipsoid.WGS84] The ellipsoid the ellipse will be on. - {Number} [options.height=0.0] The distance in meters between the ellipse and the ellipsoid surface. - {Number} [options.extrudedHeight] The distance in meters between the ellipse's extruded face and the ellipsoid surface. - {Number} [options.rotation=0.0] The angle from north (counter-clockwise) in radians. - {Number} [options.granularity=0.02] The angular distance between points on the ellipse in radians. - {Number} [options.numberOfVerticalLines=16] Number of lines to draw between the top and bottom surface of an extruded ellipse.
exception {DeveloperError} semiMajorAxis and semiMinorAxis must be greater than zero. exception {DeveloperError} semiMajorAxis must be greater than or equal to the semiMinorAxis. exception {DeveloperError} granularity must be greater than zero.
var ellipse = new Cesium.EllipseOutlineGeometry({ center : Cesium.Cartesian3.fromDegrees(-75.59777, 40.03883), semiMajorAxis : 500000.0, semiMinorAxis : 300000.0, rotation : Cesium.Math.toRadians(60.0) }); var geometry = Cesium.EllipseOutlineGeometry.createGeometry(ellipse);
EllipseOutlineGeometry.createGeometry