We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5144d8e commit 002ea9cCopy full SHA for 002ea9c
1 file changed
src/surface/fast_marching_method.cpp
@@ -93,7 +93,7 @@ VertexData<double> FMMDistance(IntrinsicGeometryInterface& geometry,
93
// These vertices might themselves lie on the curve, in which case we overwrite them below.
94
Halfedge he = commonEdge.halfedge();
95
signs[he.next().tipVertex()] = (he.vertex() == pA.vertex) ? -1 : 1;
96
- signs[he.twin().next().tipVertex()] = -signs[he.next().tipVertex()];
+ if (!commonEdge.isBoundary()) signs[he.twin().next().tipVertex()] = -signs[he.next().tipVertex()];
97
} else {
98
Face commonFace = sharedFace(pA, pB);
99
if (commonFace == Face()) {
0 commit comments