Draw Arc


How can i draw a simple 1/2 or 1/3 circle (some arch) ?


Best Regards,
Mark Nebrat

Hello Mark,

Sorry, but we don’t have a geometry type with that ability included in Cesium at the moment.

If you’re interested in implementing this, you can see how we compute our EllipseGeometry positions in this function: https://github.com/AnalyticalGraphicsInc/cesium/blob/master/Source/Core/EllipseGeometryLibrary.js#L101

You could try to adapt this function to add this functionality to the EllipseGeometry.

Take a look at our build guide for instructions on downloading and building our code base: https://github.com/AnalyticalGraphicsInc/cesium/tree/master/Documentation/Contributors/BuildGuide