WallGeometry

A description of a wall, which is similar to a KML line string. A wall is defined by a series of points, which extrude down to the ground. Optionally, they can extrude downwards to a specified height.

// create a wall that spans from ground level to 10000 meters
const wall = new WallGeometry({
positions : 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
])
});
const geometry = WallGeometry.createGeometry(wall);

See also

Constructors

Link copied to clipboard
constructor(options: WallGeometry.ConstructorOptions)

Types

Link copied to clipboard
object Companion
Link copied to clipboard
sealed interface ConstructorOptions

Properties

Link copied to clipboard

The number of elements used to pack the object into an array.