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

Method generate_phantom_mesh

tools/Wires/Inflator/PeriodicInflator.cpp:74–88  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

72}
73
74void PeriodicInflator::generate_phantom_mesh() {
75 PhantomMeshGenerator generator(
76 m_wire_network, m_parameter_manager, m_profile);
77 if (m_with_shape_velocities)
78 generator.with_shape_velocities();
79 generator.with_rel_geometry_correction(m_rel_correction);
80 generator.with_abs_geometry_correction(m_abs_correction);
81 generator.set_geometry_correction_cap(m_correction_cap);
82 generator.generate();
83 m_phantom_vertices = generator.get_vertices();
84 m_phantom_faces = generator.get_faces();
85 m_phantom_face_sources = generator.get_face_sources();
86 if (m_with_shape_velocities)
87 m_shape_velocities = generator.get_shape_velocities();
88}
89
90void PeriodicInflator::initialize_AABB_tree() {
91 const size_t dim = m_parameter_manager->get_wire_network()->get_dim();

Callers

nothing calls this directly

Calls 9

generateMethod · 0.80
with_shape_velocitiesMethod · 0.45
get_verticesMethod · 0.45
get_facesMethod · 0.45
get_face_sourcesMethod · 0.45
get_shape_velocitiesMethod · 0.45

Tested by

no test coverage detected