boost::geometry union & difference &r-tree error
- Vorherrschende Sprache
- C++
- Sterne
- 517
- Forks
- 232
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
I want to "union" or "clipper" two rectangle but I always get the wrong output.
so I used "fsanitize=undefined" command to check my code, and it report a overflow error.
I think the all points of the tow rectangle in the integer range,so my question is if the points range
will be "long long" How do I define the type of point_xy to make sure it doesn't overflow when I used the function "union_" "difference" , and some time I used boost r-tree will also get the error.



Beitragsleitfaden
Bewertung
Dieses Issue wurde noch nicht bewertet.