MCPcopy Create free account
hub / github.com/PyMesh/PyMesh / run

Method run

tools/Triangulation/ShewchukTriangle/ConstrainedDelaunay.cpp:10–25  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8using namespace PyMesh;
9
10void Triangle::ConstrainedDelaunay::run() {
11 TriangleWrapper triangle;
12 triangle.set_points(m_points);
13 triangle.set_segments(m_segments);
14 triangle.set_split_boundary(false);
15 triangle.set_max_num_steiner_points(0);
16 triangle.keep_convex_hull(true);
17 triangle.set_min_angle(0);
18 triangle.set_verbosity(0);
19 triangle.run();
20 m_vertices = triangle.get_vertices();
21 auto faces = triangle.get_faces();
22 if (faces.rows() > 0) {
23 m_faces = triangle.get_faces();
24 }
25}
26
27#endif

Callers

nothing calls this directly

Calls 9

keep_convex_hullMethod · 0.80
set_min_angleMethod · 0.80
set_pointsMethod · 0.45
set_segmentsMethod · 0.45
set_split_boundaryMethod · 0.45
set_verbosityMethod · 0.45
get_verticesMethod · 0.45
get_facesMethod · 0.45

Tested by

no test coverage detected