CoplanarPolygonOutlineGeometry
external class CoplanarPolygonOutlineGeometry(options: CoplanarPolygonOutlineGeometry.ConstructorOptions)(source)
A description of the outline of a polygon composed of arbitrary coplanar positions.
const polygonOutline = new CoplanarPolygonOutlineGeometry({
positions : Cartesian3.fromDegreesArrayHeights([
-90.0, 30.0, 0.0,
-90.0, 30.0, 1000.0,
-80.0, 30.0, 1000.0,
-80.0, 30.0, 0.0
])
});
const geometry = CoplanarPolygonOutlineGeometry.createGeometry(polygonOutline);
Content copied to clipboard