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

Method convert_to_face_attribute_from_name

tools/MeshUtils/AttributeUtils.cpp:212–216  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

210}
211
212VectorF AttributeUtils::convert_to_face_attribute_from_name(Mesh& mesh,
213 const std::string& attribute_name) {
214 const VectorF& attr = mesh.get_attribute(attribute_name);
215 return convert_to_face_attribute(mesh, attr);
216}
217
218VectorF AttributeUtils::convert_to_voxel_attribute(Mesh& mesh,
219 const VectorF& attribute) {

Callers 1

Calls 2

get_attributeMethod · 0.45

Tested by

no test coverage detected