Commit 19eb3782 authored by Célestin Marot's avatar Célestin Marot
Browse files

edge intersection and containing points were already in quality...

parent 44d60c0c
......@@ -795,21 +795,6 @@ static inline void compute_candidates(SPRCavity* SPR,
SPRBbox tetBbox = *triangleBbox;
SPRBbox_add(&tetBbox, SPR->points.array[tet->node[3]].coord);
for (int ptID=0; ptID<nPts; ptID++) {
if(tet_contains_pt(SPR, &tetBbox, tet->node, ptID)) {
stop = 1;
}
}
for (int edgeID=0; edgeID<SPR->edges.num; edgeID++) {
if(tet_edge_intersection(SPR, &tetBbox, tet->node, edgeID)) {
stop = 1;
}
}
if(stop)
continue;
// test intersection with boundary triangles
for (int otherFaceID=0; otherFaceID<nfaces; otherFaceID++)
{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment