MCPcopy Create free account
hub / github.com/PDAL/PDAL / createMesh

Method createMesh

pdal/PointView.cpp:171–180  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

169
170
171TriangularMesh *PointView::createMesh(const std::string& name)
172{
173 if (Utils::contains(m_meshes, name))
174 return nullptr;
175 auto res = m_meshes.insert(std::make_pair(name,
176 std::unique_ptr<TriangularMesh>(new TriangularMesh)));
177 if (res.second)
178 return res.first->second.get();
179 return nullptr;
180}
181
182
183TriangularMesh *PointView::mesh(const std::string& name)

Callers 7

readMethod · 0.80
testWriteFunction · 0.80
testMeshFunction · 0.80
TESTFunction · 0.80
filterMethod · 0.80
PointViewMeshMethod · 0.80
filterMethod · 0.80

Calls 3

containsFunction · 0.50
insertMethod · 0.45
getMethod · 0.45

Tested by 3

testWriteFunction · 0.64
testMeshFunction · 0.64
TESTFunction · 0.64