| 117 | } |
| 118 | |
| 119 | size_t PLYParser::get_attribute_size(const std::string& name) const { |
| 120 | AttributeMap::const_iterator itr = m_attributes.find(name); |
| 121 | if (itr == m_attributes.end()) { |
| 122 | throw_attribute_not_found_exception(name); |
| 123 | } |
| 124 | return itr->second.size(); |
| 125 | } |
| 126 | |
| 127 | void PLYParser::export_vertices(Float* buffer) { |
| 128 | std::copy(m_vertices.data(), m_vertices.data() + m_vertices.size(), buffer); |
no test coverage detected