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

Method initialize_2D_reflections

tools/Wires/Parameters/IsotropicTransforms.cpp:45–55  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

43}
44
45void IsotropicTransforms::initialize_2D_reflections() {
46 m_reflections.clear();
47 m_reflections.push_back(MatrixF::Identity(2, 2));
48 Matrix2F ref_x, ref_y, ref_xy;
49 ref_x << -1, 0, 0, 1;
50 ref_y << 1, 0, 0, -1;
51 ref_xy<< -1, 0, 0, -1;
52 m_reflections.push_back(ref_x);
53 m_reflections.push_back(ref_y);
54 m_reflections.push_back(ref_xy);
55}
56
57void IsotropicTransforms::initialize_2D_rotations() {
58 m_rotations.clear();

Callers

nothing calls this directly

Calls 1

clearMethod · 0.45

Tested by

no test coverage detected