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

Method tile

tools/Wires/Tiler/MeshTiler.cpp:23–35  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

21}
22
23WireNetwork::Ptr MeshTiler::tile() {
24 const size_t dim = m_mesh->get_dim();
25 switch (dim) {
26 case 2:
27 return tile_2D();
28 case 3:
29 return tile_3D();
30 default:
31 std::stringstream err_msg;
32 err_msg << "Unsupported dim: " << dim;
33 throw NotImplementedError(err_msg.str());
34 }
35}
36
37WireNetwork::Ptr MeshTiler::tile_2D() {
38 const size_t num_cells = m_mesh->get_num_faces();

Callers 10

tile_with_guide_bboxMethod · 0.45
tile_with_guide_meshMethod · 0.45
run_min_angle_checkMethod · 0.45
TEST_FFunction · 0.45
TEST_FFunction · 0.45

Calls 3

NotImplementedErrorClass · 0.85
get_dimMethod · 0.45
strMethod · 0.45

Tested by 5

run_min_angle_checkMethod · 0.36
TEST_FFunction · 0.36
TEST_FFunction · 0.36