Offset polyline with Clipper

I am using the Clipper library, which is quite easy to do polygonal displacement, BUT MY PROBLEM IS ONLY TO PERFORM POLYLAN, preferably using Clipper.

While searching on the internet, I found a function named OffsetPaths

, but the function is biased, i.e. only a positive argument is required as the offset distance.

I can understand that unlike closed polygons, where it is easy to indicate direction by magnifying positive and deflating as negative, polylines do not have the same luxury. But this is my demand.

+3
geometry maps graphics cad


source to share


No one has answered this question yet

Check out similar questions:

185
Inflation / deflation (offset, buffering) algorithm for polygons
34
2D Geometry Library: LGPL Alternative to CGAL?
18
How do I compensate for a cubic bezier curve?
12
Offset polygons in Javascript
7
How to pin one IEnumerable to itself
3
Inflation / deflation (offset, buffering) algorithm for polylines
1
Expanding mesh vertex positions
0
Moving polygon polygons and straight line
0
Expand and blur SVG shapes using Javascript
-3
Save polygon / area on google map in local DB and method to check if point is in / in / out of polygon



All Articles
Loading...
X
Show
Funny
Dev
Pics