Is it possible to offset a line? Not "to buffer" an open line, but just offset (shift) it? Like this:
I can buffer it with rectangle endcap, then buffer it with butt endcap and increased factor, then intersect results and get two lines, one of which will be line I need. But maybe there is easier way?
Last edit: Roman Shuvalov 2016-11-15
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
In the code there's a reference to etOpenSingle as an EndType that isn't implemented in the library:
"etOpenSingle: Offsets an open path in a single direction. Planned for a future update."
I think this is what would do the trick if it were implemented. I would also love this functionality and I noticed Clipper v2 is in development, so I thought I'd bump this in case it could be considered for implementation.
Angus, is this possible in Clipper v2, or something you would consider implementing, as it was presumably on your mind at some point?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Greetings.
Is it possible to offset a line? Not "to buffer" an open line, but just offset (shift) it? Like this:
I can buffer it with rectangle endcap, then buffer it with butt endcap and increased factor, then intersect results and get two lines, one of which will be line I need. But maybe there is easier way?
Last edit: Roman Shuvalov 2016-11-15
In the code there's a reference to etOpenSingle as an EndType that isn't implemented in the library:
"etOpenSingle: Offsets an open path in a single direction. Planned for a future update."
I think this is what would do the trick if it were implemented. I would also love this functionality and I noticed Clipper v2 is in development, so I thought I'd bump this in case it could be considered for implementation.
Angus, is this possible in Clipper v2, or something you would consider implementing, as it was presumably on your mind at some point?
I'm also interested in having this feature.