WallOutlineGeometry
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.
// create a wall outline that spans from ground level to 10000 meters
const wall = new WallOutlineGeometry({
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 = WallOutlineGeometry.createGeometry(wall);
Content copied to clipboard