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

Method initialize_2D_rotations

tools/Wires/Parameters/IsotropicTransforms.cpp:57–67  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

55}
56
57void IsotropicTransforms::initialize_2D_rotations() {
58 m_rotations.clear();
59 m_rotations.push_back(MatrixF::Identity(2, 2));
60 Matrix2F rot_90, rot_180, rot_270;
61 rot_90 << 0, -1, 1, 0;
62 rot_180 << -1, 0, 0, -1;
63 rot_270 << 0, 1, -1, 0;
64 m_rotations.push_back(rot_90);
65 m_rotations.push_back(rot_180);
66 m_rotations.push_back(rot_270);
67}
68
69void IsotropicTransforms::initialize_3D_reflections() {
70 m_reflections.clear();

Callers

nothing calls this directly

Calls 1

clearMethod · 0.45

Tested by

no test coverage detected