Intersection A-B and C-D is not equal to intersection B-A C-D
Ouverte
- Langage dominant
- C++
- Étoiles
- 517
- Forks
- 232
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Description
The intersection point returned depend on the direction of a segment. The difference is usually just 1, probably due to rounding.
For example, the intersection between this segment:
`4710043 -2665034, 4685409 -2666385`
with:
`4700000 -2500000, 4700000 -3500000`
Can be either:
`4700000 -2665585`
or
`4700000 -2665584`
depending on the order of the first segment.
I would expect the order of the segment not to matter.
Guide de contribution
Ouvrir le guide de contribution
Évaluation
Cette issue n'a pas encore été évaluée.