CoplanarPolygonGeometry
A description of a polygon composed of arbitrary coplanar positions.
const polygonGeometry = new CoplanarPolygonGeometry({
polygonHierarchy: new PolygonHierarchy(
Cartesian3.fromDegreesArrayHeights([
-90.0, 30.0, 0.0,
-90.0, 30.0, 300000.0,
-80.0, 30.0, 300000.0,
-80.0, 30.0, 0.0
]))
});
Content copied to clipboard