A description of a wall outline. A wall is defined by a series of points,
which extrude down to the ground. Optionally, they can extrude downwards to a specified height.
alias WallOutlineGeometry
- The options object takes the following properties
- {Cartesian3[]} options.positions An array of Cartesian objects, which are the points of the wall.
- {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.maximumHeights] An array parallel to positions that give the maximum height of the
wall at positions. If undefined, the height of each position in used.
- {Number[]} [options.minimumHeights] An array parallel to positions that give the minimum height of the
wall at positions. If undefined, the height at each position is 0.0.
- {Ellipsoid} [options.ellipsoid=Ellipsoid.WGS84] The ellipsoid for coordinate manipulation
exception {DeveloperError} positions length must be greater than or equal to 2.
exception {DeveloperError} positions and maximumHeights must have the same length.
exception {DeveloperError} positions and minimumHeights must have the same length.
A description of a wall outline. A wall is defined by a series of points, which extrude down to the ground. Optionally, they can extrude downwards to a specified height.
alias WallOutlineGeometry
- The options object takes the following properties - {Cartesian3[]} options.positions An array of Cartesian objects, which are the points of the wall. - {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.maximumHeights] An array parallel to
positions
that give the maximum height of the wall atpositions
. If undefined, the height of each position in used. - {Number[]} [options.minimumHeights] An array parallel topositions
that give the minimum height of the wall atpositions
. If undefined, the height at each position is 0.0. - {Ellipsoid} [options.ellipsoid=Ellipsoid.WGS84] The ellipsoid for coordinate manipulationexception {DeveloperError} positions length must be greater than or equal to 2. exception {DeveloperError} positions and maximumHeights must have the same length. exception {DeveloperError} positions and minimumHeights must have the same length.
// create a wall outline that spans from ground level to 10000 meters var wall = new Cesium.WallOutlineGeometry({ positions : Cesium.Cartesian3.fromDegreesArrayHeights([ 19.0, 47.0, 10000.0, 19.0, 48.0, 10000.0, 20.0, 48.0, 10000.0, 20.0, 47.0, 10000.0, 19.0, 47.0, 10000.0 ]) }); var geometry = Cesium.WallOutlineGeometry.createGeometry(wall);
WallGeometry#fromConstantHeight
WallGeometry#createGeometry