Search code examples
c#arcgis-runtime-net

Drawing arcs in ArcGIS


I need to draw several arcs in an ArcGIS overlay. I want to make a function where with a location, angle and distance, draw an arc like the attached file.

1


Solution

  • Looks like you should create a new PolygonBuilder, add the center point, then add an EllipticArcSegment.

    You then call ToGeometry() on the PolygonBuilder to get the output polygon.

    Read the documentation on the EllipticArcSegment constructor to make sure you use the right units for the distances.