CavalierContours icon indicating copy to clipboard operation
CavalierContours copied to clipboard

2D polyline library for offsetting, combining, etc.

Results 30 CavalierContours issues
Sort by recently updated
recently updated
newest added

Hello JBuck and thanks for your excellent work! I'm working on your ParallelOffsetIslands algorithm trying to make it more general in two ways: 1. Handle negative offsets. Here I think...

Hi and many thanks for this great library. I would like to try to generate a smooth offset contour, with at best only tangential connections. The offset contour on an...

Thanks for the excellent library! Currently, boolean operations only support closed polylines: https://github.com/jbuckmccready/CavalierContours/blob/b955785cc3db9689704d6135cbb60177fab835bb/include/cavc/polylinecombine.hpp#L415 It would be useful to support boolean operations between both open and closed polylines, as clipper does:...

After offset operation if the new polyline self intersected, the intersected edges clipped and created polylines more than one. Is that possible to get the intersected polyline without clipping?

Is there a way to make multi combining on polylines like clipper's AddPaths. Initially i have 1 polyline, after offset i get multi polylines and i want to cut (cavc::PlineCombineMode::Exclude)...

Hi, Thanks for the nice library, i just started to try few values. Not sure if this is a bug or my mistake in code. Below is the code i'm...

(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...

Do you have any thoughts on implementing combining with open polylines? In my case I need to have two open polylines with dual offsetts. I need to somehow combine the...

The island offsetting function is not currently part of the C API, it should be added.

enhancement