Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我认为 OpenMesh 将支持对面边顶点的随机访问。我能找到的只有迭代器和循环器:
for( auto v : mesh->vertices() ) mesh->point(v).data();
我该怎么做这样的事情:
mesh->vertices(42);
VertexHandle vertex_handle (unsigned int _i) const
此函数可用于获取顶点处理程序,如果您想从中获取顶点,只需使用
mesh.point(_vh);
其中 _vh 是您从上述函数中获得的句柄。