Merge branch 'featureSplitCopyInternal' into 'master'

Feature split copy internal

Closes #44

See merge request !137
This commit is contained in:
Jan Möbius
2017-07-03 15:50:59 +02:00
5 changed files with 189 additions and 4 deletions

View File

@@ -1130,7 +1130,7 @@ void PolyConnectivity::split_copy(FaceHandle fh, VertexHandle vh) {
// Copy the property of the original face to all new faces
for(VertexFaceIter vf_it = vf_iter(vh); vf_it.is_valid(); ++vf_it)
copy_all_properties(fh, *vf_it);
copy_all_properties(fh, *vf_it, true);
}
//-----------------------------------------------------------------------------
@@ -1226,7 +1226,7 @@ void PolyConnectivity::split_edge_copy(EdgeHandle _eh, VertexHandle _vh)
EdgeHandle eh0 = edge_handle( next_halfedge_handle( halfedge_handle(_eh, 1) ) );
// Copy the property from the original to the new edge
copy_all_properties(_eh, eh0);
copy_all_properties(_eh, eh0, true);
}
} // namespace OpenMesh

View File

@@ -494,7 +494,7 @@ void TriConnectivity::split_copy(EdgeHandle _eh, VertexHandle _vh)
// Copy the properties of the original edge to all neighbor edges that
// have been created
for(VEIter ve_it = ve_iter(_vh); ve_it.is_valid(); ++ve_it)
copy_all_properties(_eh, *ve_it);
copy_all_properties(_eh, *ve_it, true);
}
}// namespace OpenMesh