A description of the outline of a a cartographic rectangle on an ellipsoid centered at the origin.
alias RectangleOutlineGeometry
- The options object takes the following properties
- {Rectangle} options.rectangle A cartographic rectangle with north, south, east and west properties in radians.
- {Ellipsoid} [options.ellipsoid=Ellipsoid.WGS84] The ellipsoid on which the rectangle lies.
- {Number} [options.granularity=CesiumMath.RADIANS_PER_DEGREE] The distance, in radians, between each latitude and longitude. Determines the number of positions in the buffer.
- {Number} [options.height=0.0] The distance in meters between the rectangle and the ellipsoid surface.
- {Number} [options.rotation=0.0] The rotation of the rectangle, in radians. A positive rotation is counter-clockwise.
- {Number} [options.extrudedHeight] The distance in meters between the rectangle's extruded face and the ellipsoid surface.
exception {DeveloperError} options.rectangle.north must be in the interval [-Pi/2, Pi/2].
exception {DeveloperError} options.rectangle.south must be in the interval [-Pi/2, Pi/2].
exception {DeveloperError} options.rectangle.east must be in the interval [-Pi, Pi].
exception {DeveloperError} options.rectangle.west must be in the interval [-Pi, Pi].
exception {DeveloperError} options.rectangle.north must be greater than rectangle.south.
A description of the outline of a a cartographic rectangle on an ellipsoid centered at the origin.
alias RectangleOutlineGeometry
- The options object takes the following properties - {Rectangle} options.rectangle A cartographic rectangle with north, south, east and west properties in radians. - {Ellipsoid} [options.ellipsoid=Ellipsoid.WGS84] The ellipsoid on which the rectangle lies. - {Number} [options.granularity=CesiumMath.RADIANS_PER_DEGREE] The distance, in radians, between each latitude and longitude. Determines the number of positions in the buffer. - {Number} [options.height=0.0] The distance in meters between the rectangle and the ellipsoid surface. - {Number} [options.rotation=0.0] The rotation of the rectangle, in radians. A positive rotation is counter-clockwise. - {Number} [options.extrudedHeight] The distance in meters between the rectangle's extruded face and the ellipsoid surface.
exception {DeveloperError}
options.rectangle.north
must be in the interval [-Pi/2
,Pi/2
]. exception {DeveloperError}options.rectangle.south
must be in the interval [-Pi/2
,Pi/2
]. exception {DeveloperError}options.rectangle.east
must be in the interval [-Pi
,Pi
]. exception {DeveloperError}options.rectangle.west
must be in the interval [-Pi
,Pi
]. exception {DeveloperError}options.rectangle.north
must be greater thanrectangle.south
.var rectangle = new Cesium.RectangleOutlineGeometry({ ellipsoid : Cesium.Ellipsoid.WGS84, rectangle : Cesium.Rectangle.fromDegrees(-80.0, 39.0, -74.0, 42.0), height : 10000.0 }); var geometry = Cesium.RectangleOutlineGeometry.createGeometry(rectangle);
RectangleOutlineGeometry#createGeometry