mirror of https://github.com/CGAL/cgal
look for a feature edge around the vertex
This commit is contained in:
parent
138b06ca11
commit
0b55dc477d
|
|
@ -334,8 +334,17 @@ void detect_vertex_incident_patches(const PolygonMesh& pmesh,
|
|||
for(vertex_descriptor vit :vertices(pmesh))
|
||||
{
|
||||
// Look only at feature vertices
|
||||
if(!get(edge_is_feature_map, edge(halfedge(vit, pmesh), pmesh)))
|
||||
continue;
|
||||
bool skip=true;
|
||||
for(halfedge_descriptor he : halfedges_around_target(vit, pmesh))
|
||||
{
|
||||
if(get(edge_is_feature_map, edge(he, pmesh)))
|
||||
{
|
||||
skip=false;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
if (skip) continue;
|
||||
|
||||
// Loop on incident facets of vit
|
||||
typename VertexIncidentPatchesMap::value_type& id_set = vertex_incident_patches_map[vit];
|
||||
|
|
|
|||
Loading…
Reference in New Issue