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

Method num_attributes

src/IO/OFFParser.cpp:86–91  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

84}
85
86size_t OFFParser::num_attributes() const {
87 size_t result = 0;
88 if (!m_vertex_colors.empty()) result += 4;
89 if (!m_face_colors.empty()) result += 4;
90 return result;
91}
92
93OFFParser::AttrNames OFFParser::get_attribute_names() const {
94 OFFParser::AttrNames names;

Callers

nothing calls this directly

Calls 1

emptyMethod · 0.45

Tested by

no test coverage detected