- The options object takes the following properties
- {Cartesian3[]} options.positions An array of positions that define the center of the corridor outline.
- {Number} options.width The distance between the edges of the corridor outline.
- {Ellipsoid} [options.ellipsoid=Ellipsoid.WGS84] The ellipsoid to be used as a reference.
- {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] The distance in meters between the positions and the ellipsoid surface.
- {Number} [options.extrudedHeight] The distance in meters between the extruded face and the ellipsoid surface.
- {CornerType} [options.cornerType=CornerType.ROUNDED] Determines the style of the corners.
A description of a corridor outline.
alias CorridorOutlineGeometry
- The options object takes the following properties - {Cartesian3[]} options.positions An array of positions that define the center of the corridor outline. - {Number} options.width The distance between the edges of the corridor outline. - {Ellipsoid} [options.ellipsoid=Ellipsoid.WGS84] The ellipsoid to be used as a reference. - {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] The distance in meters between the positions and the ellipsoid surface. - {Number} [options.extrudedHeight] The distance in meters between the extruded face and the ellipsoid surface. - {CornerType} [options.cornerType=CornerType.ROUNDED] Determines the style of the corners.
var corridor = new Cesium.CorridorOutlineGeometry({ positions : Cesium.Cartesian3.fromDegreesArray([-72.0, 40.0, -70.0, 35.0]), width : 100000 });
CorridorOutlineGeometry.createGeometry