- edited description
Typo when edge in polygon is parallel to the ray in point_in_polygon of CSGCGALDomain2D.cpp
Issue #97
resolved
There is a typo in point_in_polygon (CSGCGALDomain2D.cpp, https://bitbucket.org/fenics-project/mshr/src/master/src/CSGCGALDomain2D.cpp ) in which the wrong pointer is referenced. Depending on the list of coordinates, in the case when an edge in the polygon is parallel to the ray, this results in a "Segmentation Fault". Here follows a patch that would fix this typo of the referenced variables.
Comments (3)
-
reporter -
- changed status to resolved
fix closest segment (Issue
#97)Apply Diego Hayashi Alonso's patch to fix definition of closest object when processing a segment in point_in_polygon.
Fixes:
#97→ <<cset 047f5ce3695f>>
-
Merged in dparsons/issue_patches (pull request #18)
apply patches provided in issues
→ <<cset ff54a68ec7bc>>
- Log in to comment