0

I'm trying to convert an arc to line segments in AutoCAD as per the image below.

I would like to run the polygonize function in net topology suite to count all enclosed areas and I haven't found a way of doing this without only using line segments.

Is there a way that I can easily convert an Arc to N number of edges? or, am I able to pass an Arc to polygonize some how?

Convert Arc to line segments

Vitalizzare
  • 4,496
  • 7
  • 13
  • 32

1 Answers1

1

Polylines, like other curves, have the method getPointOnDist, which will give You points on the arc segment. Then You need to insert vertex for polyline in points. In the end, You need to setBulgeAt to 0 for each inserted vertex to convert arc segments to line segments.

CAD Developer
  • 1,532
  • 2
  • 21
  • 27