Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
e7b856d
CutTrianglePredicates: tell apart the crossings of multiple edges by SoS
Grantim Dec 4, 2026
edeeb9e
CutTrianglePredicates: optional degree cap of mulAs
Grantim Dec 4, 2026
d87bb46
CutTrianglePredicates: test the delta crossings against a model of th…
Grantim Dec 4, 2026
61cd61b
CutTrianglePredicates: reuse mulAs and cross for the shifts
Grantim Dec 4, 2026
d324474
CutTrianglePredicates: the cut rule for the crossings of three cuts a…
Grantim Dec 4, 2026
0ad2001
CutTrianglePredicates: docs of the crossings of cuts at a common edge
Grantim Dec 4, 2026
4469a3a
CutTrianglePredicates: only M as the compile-time degree cap of mulAs
Grantim Dec 5, 2026
a2b7e57
CutTrianglePredicates: fail where the first-order term of the shifts …
Grantim Dec 5, 2026
9584ed4
CutTrianglePredicates: no default point in addPoint, and a normal for…
Grantim Dec 5, 2026
47e4115
CutTrianglePredicates: docs of the cut rule, the shifts and the failures
Grantim Dec 5, 2026
08a8799
CutTrianglePredicates: test that the crossing at a common edge is bet…
Grantim Dec 5, 2026
04a05f7
CutTrianglePredicates: ccwByLines finds no line for two crossings of …
Grantim Dec 5, 2026
743c4c7
CutTrianglePredicates: test crossings at common edges whose cuts cross
Grantim Dec 5, 2026
e9ef897
CutTrianglePredicates: less puts the points it cannot tell apart with…
Grantim Dec 5, 2026
24ef23e
CutTrianglePredicates: the perturbed second-order term takes an alike…
Grantim Dec 5, 2026
46544ba
CutTrianglePredicates: one definition of a shift for its exact and pe…
Grantim Dec 5, 2026
cdb2ca2
CutTrianglePredicates: docs of two points defined alike on the cut of…
Grantim Dec 5, 2026
9b4aed9
CutTrianglePredicates: test mulAs with a degree cap at run time
Grantim Dec 5, 2026
65b4412
CutTrianglePredicates: test that two cuts with a common edge from a v…
Grantim Dec 5, 2026
278039b
CutTrianglePredicates: no constant conditions in the tests for MSVC 2019
Grantim Dec 5, 2026
8e21d05
CutTrianglePredicates: only the shift definitions in the order after …
Grantim Dec 5, 2026
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
4 changes: 3 additions & 1 deletion source/MRMesh/MR2DContoursTriangulation.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1978,7 +1978,9 @@ static bool setLoopPredicates( SweepLinePredicates& p, LoopPoints& lp, const Mes
// two vertices defined alike make the predicates fail only if the sweep compares them, unless the shifts of their edges tell them apart
// (as the crossings of the edges of a multiple edge of the other mesh with their wedges), so every two of them are compared before
// the sweep, and the loops are rejected if that fails: a vertex point by its id, a crossing by the ids of its segment and triangle
// in any order (of its two triangles for a crossing of two cuts), with the index of the point
// in any order (of its two triangles for a crossing of two cuts), with the index of the point; a crossing of two cuts by triangles
// with a common edge, defined alike with the crossings of that edge, is keyed by its triangles, so its comparisons with them come
// in the sweep, where less stays a strict weak order and the failure is still found
Vector<std::pair<std::array<int, 6>, int>> keys( verts.size() );
for ( int i = 0; i < verts.size(); ++i )
{
Expand Down
Loading
Loading