jbuckmccready / CavalierContours

2D polyline library for offsetting, combining, etc.
MIT License
407 stars 78 forks source link

Is there any way to establish the relationship between the original segment(curve btween two PlineVertex) of Polyline and the offset segment of Polyline? #20

Open YggSky opened 4 years ago

YggSky commented 4 years ago

(For some reason)for example ,if segment have color property,and is red, execute cavc::parallelOffset function, I hope to find offset segment corresponding to origin,so i can know the offset segment and what color it is. Of course ,offset segment compare to origin ,maybe start or end point coordenate change or this segment disappear or add a new segment,new segment have a default color.

jbuckmccready commented 4 years ago

That's something I want to add, see issue https://github.com/jbuckmccready/CavalierContours/issues/11. I'm not sure when I'll get around to it.

YggSky commented 4 years ago

That's something I want to add, see issue #11. I'm not sure when I'll get around to it.

thanks,I know.