Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions arrangements/code/fast_trimesh.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -553,6 +553,9 @@ inline int FastTrimesh::triOrientation(uint t_id) const
case YZ: return genericPoint::orient2Dyz(*triVert(t_id, 0), *triVert(t_id, 1), *triVert(t_id, 2));
case ZX: return genericPoint::orient2Dzx(*triVert(t_id, 0), *triVert(t_id, 1), *triVert(t_id, 2));
}

assert(false && "This should not happen");
return 0; // warning killer
}

//:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
Expand Down
2 changes: 2 additions & 0 deletions arrangements/code/intersection_classification.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -934,6 +934,8 @@ inline bool genericPointInsideTriangle(const TriangleSoup &ts, uint p_id, uint t
}
}

assert(false && "This should not happen");
return false; // warning killer
}


Expand Down
3 changes: 3 additions & 0 deletions arrangements/code/triangulation.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -953,6 +953,9 @@ inline bool fastPointOnLine(const FastTrimesh &subm, uint e_id, uint p_id)
case YZ: return (genericPoint::orient2Dyz(*subm.vert(ev0_id), *subm.vert(ev1_id), *subm.vert(p_id)) == 0);
case ZX: return (genericPoint::orient2Dzx(*subm.vert(ev0_id), *subm.vert(ev1_id), *subm.vert(p_id)) == 0);
}

assert(false && "This should not happen");
return false; // Warning killer
}

//::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
Expand Down