Linearize in polygons
![]() 10/14/2021 11:47 AM
|
---|
Hi there, Is it possible to convert a polygon segments to lines? This is needed for some machinery that does not support any other entity but a line. Thanks, |
![]() 10/15/2021 7:39 PM
|
---|
Hi, There's a GetCoordinates example in the Examples directory that's a step towards this. It converts entities into polylines, and then from the polyline you just have to create line segments from it, which is easy: just create a line segment between each 2 consecutive points of the polyline, and ofcourse check if the polyline is closed or not. - Wout |