0
三角形メッシュの変形の場合CGALはブーストのvertex_iterator
& vertex_descriptor
を使用します。 x, y, z
ブーストイテレータ/記述子を指し示す頂点の値を取得したいと思います。CGAL&Boost - vertex_iterator&vertex_descriptor
これらを取得する方法x, y, z
ポイント/頂点の値は?
vertex_iterator
/vertex_descriptor
は私が慣れていたCGALとは異なりますが、私はブーストの実装を得ていません。
ブーストのvertex_iterator
/vertex_descriptor
を使用してポイントの座標を取得する方法を知っている人はいますか?
次のスニペットでは、頂点ディスクリプタを取得しています。
// Add another control vertex which requires another call to preprocess.
vertex_descriptor control_3 = *CGAL::cpp11::next(vb, 92);
deform_mesh.insert_control_vertex(control_3);
このディスクリプタを使用してPoint_3
を入手できますか?もしそうなら、どのように?
ありがとうございました。 –