Geometry_Engine: CollapseToPolyline issues
- Dominant language
- C#
- Stars
- 30
- Forks
- 13
- Avg merge
- 7d 10h
- Merged PRs (30d)
- 5
Description
Two issues found for the CollapseToPolyline method regarding the maxSegmentCount:
1. The method uses the maxSegmentCount for each subcurve of a polycurve, not enveloped for the curve as a whole, resulting in maxSegmentCount * nbCurvesInPolycurve number of segements. See example bellow where a polycurve made up of two curves is used:

2. For arcs, the method always returns at least 2 segments, even if maxSegementCount is set to 1. Think that `if(maxSegementCount <2)` we should just return one segement between the start and endpoints:

Contributor guide
Assessment
This issue has not been assessed yet.