extendPoly

Extend a polygon end line to a boundary polygon. The extended polygons are extended to where they intersect the boundary polygons, the extended side depending on where the polygon is picked. The intersection point is calculated analytically and isn't effected by polygonization settings. The extended polygon is not just raw geometry, but a smart shape definition that knows an extension distance and an analytically calculated tangent vector to extend along. Try changing the arc polygonization for an extended arc and notice that the end does change.


boundary : ObjectSet
Pick boundary polygons

extend : ObjectSet
Pick polygons to extend