boostorg / boostorg/geometry

[Request] Provide an argument to `correct` giving a vector defining the interior or exterior of a spherical polygon.

Open
#1,075 25 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
C++
Stars
517
Forks
232
PR merge metrics
No merged PRs in 30d

Description

### Discussed in https://github.com/boostorg/geometry/discussions/1061

Originally posted by **rconde01** October 4, 2022
I'm trying to find a way to specify the inside of a polygon so that the results are correct when calling `correct`. For example, you might have a "cone" where the half angle is greater than 90 degrees. Currently this is corrected such that the axis of the code is flipped to the other side. Specifying a vector in the interior of the polygon should be able to resolve the ambiguity...but so far I don't see a way to do this.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.