EllipseGeometry
A description of an ellipse on an ellipsoid. Ellipse geometry can be rendered with both Primitive and GroundPrimitive.
// Create an ellipse.
const ellipse = new EllipseGeometry({
center : Cartesian3.fromDegrees(-75.59777, 40.03883),
semiMajorAxis : 500000.0,
semiMinorAxis : 300000.0,
rotation : Math.toRadians(60.0)
});
const geometry = EllipseGeometry.createGeometry(ellipse);
Content copied to clipboard