Replaced all .handle() calls

git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@904 fdac6126-5c0c-442c-9429-916003d36597
This commit is contained in:
Jan Möbius
2013-08-07 10:43:06 +00:00
parent ea099b1437
commit e21e113b50
23 changed files with 238 additions and 238 deletions

View File

@@ -190,11 +190,11 @@ protected:
// This is an interpolating scheme, old vertices remain the same.
typename mesh_t::VertexIter initialVerticesEnd = _m.vertices_end();
for ( vit = _m.vertices_begin(); vit != initialVerticesEnd; ++vit)
_m.property( vp_pos_, vit.handle() ) = _m.point(vit.handle());
_m.property( vp_pos_, *vit ) = _m.point(*vit);
// Compute position for new vertices and store them in the edge property
for (eit=_m.edges_begin(); eit != _m.edges_end(); ++eit)
compute_midpoint( _m, eit.handle() );
compute_midpoint( _m, *eit );
// Split each edge at midpoint and store precomputed positions (stored in
@@ -203,7 +203,7 @@ protected:
// Attention! Creating new edges, hence make sure the loop ends correctly.
e_end = _m.edges_end();
for (eit=_m.edges_begin(); eit != e_end; ++eit)
split_edge(_m, eit.handle() );
split_edge(_m, *eit );
// Commit changes in topology and reconsitute consistency
@@ -211,7 +211,7 @@ protected:
// Attention! Creating new faces, hence make sure the loop ends correctly.
f_end = _m.faces_end();
for (fit = _m.faces_begin(); fit != f_end; ++fit)
split_face(_m, fit.handle() );
split_face(_m, *fit );
// Commit changes in geometry