MCPcopy Create free account
hub / github.com/MeshInspector/MeshLib / test_self_intersections

Function test_self_intersections

test_python/test_fixSelfIntersections.py:5–12  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

3
4
5def test_self_intersections():
6 torusIntersected = mrmesh.makeTorusWithSelfIntersections(2, 1, 10, 10, None)
7 selfies = mrmesh.localFindSelfIntersections(torusIntersected)
8 assert selfies.count() > 0
9
10 settings = mrmesh.FixSelfIntersectionSettings()
11 settings.method = mrmesh.FixSelfIntersectionMethod.CutAndFill
12 mrmesh.localFixSelfIntersections(torusIntersected,settings) # just check thit it runs

Callers

nothing calls this directly

Calls 1

countMethod · 0.80

Tested by

no test coverage detected