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

Method create_2D

tools/Wires/Inflator/WireProfile.cpp:160–166  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

158}
159
160WireProfile::Ptr WireProfile::create_2D() {
161 MatrixFr loop(2, 2);
162 loop << -1, 0, 1, 0;
163 Ptr r = Ptr(new WireProfile());
164 r->initialize(loop);
165 return r;
166}
167
168void WireProfile::initialize(const MatrixFr& loop) {
169 m_loop = loop;

Callers

nothing calls this directly

Calls 1

initializeMethod · 0.45

Tested by

no test coverage detected