Archived issue #0032395
Mesh - possible mistake in BRepMesh_Delaun::isVertexInsidePolygon
Description
The method BRepMesh_Delaun::isVertexInsidePolygon classifies a point inside 2D polygon calculating cumulative angle from the point to all segments.
I found out that for a CCW polygon the angle computed by that procedure will be equal to -2PI. However, the final condition checks the angle for equality to +2PI.
It is needed to analyze the code more thoroughly, try to correct it and conduct regression tests to see if it becomes better.
I found out that for a CCW polygon the angle computed by that procedure will be equal to -2PI. However, the final condition checks the angle for equality to +2PI.
It is needed to analyze the code more thoroughly, try to correct it and conduct regression tests to see if it becomes better.
Steps to reproduce
e
Public activity
1 archived note
Participants are labeled by their role within this record.
Related records