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

Method get_shape_velocities

tools/Wires/Inflator/PhantomMeshGenerator.cpp:77–86  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

75}
76
77std::vector<MatrixFr> PhantomMeshGenerator::get_shape_velocities() const {
78 if (m_with_shape_velocities) {
79 return m_shape_velocities;
80 } else {
81 std::stringstream err_msg;
82 err_msg << "Shape velocity support is turned off. "
83 << "Please call with_shape_velocity() method to turn it on.";
84 throw RuntimeError(err_msg.str());
85 }
86}
87
88void PhantomMeshGenerator::initialize_wire_network() {
89 m_wire_network->center_at_origin();

Callers 4

generate_phantom_meshMethod · 0.45
TEST_FFunction · 0.45
TEST_FFunction · 0.45
inflateMethod · 0.45

Calls 2

RuntimeErrorClass · 0.85
strMethod · 0.45

Tested by 3

TEST_FFunction · 0.36
TEST_FFunction · 0.36
inflateMethod · 0.36