Skip to content

gmIntersectLineSegments bugfixes

Choose a tag to compare

@tchristiansen-aquaveo tchristiansen-aquaveo released this 30 Mar 15:15

Bug fixes for gmIntersectLineSegments:

  • The points of intersection could have different X and/or Y coordinates due to roundoff error. This can no longer happen.
  • The intersection test was inadvertently rejecting both parallel and short segments. Now it only rejects parallel ones.
  • Improvement to documentation of the function.