-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Nef_3: e->incident_sface() != SFace_const_handle() assertion error. #7267
Labels
Comments
This is a facet fan, that has a missing connecting facet leading to a non-manifold vertex. A check for this condition can be written as follows (fans not fins): bool all_vertices_manifold(const HalfedgeDS& hds) {
for(auto v=hds.vertices_begin(); v!=hds.vertices_end(); ++v) {
if(v->vertex_degree()<=2) continue;
unsigned borderEdges=0;
auto b=v->vertex_begin(),e(b);
CGAL_For_all(e,b) {
if(e->is_border_edge())
++borderEdges;
}
if(borderEdges>2) return false;
}
return true;
} It doesn't check for fins, but |
GilesBathgate
changed the title
Nef e->incident_sface() != SFace_const_handle() assertion error.
Nef_3: e->incident_sface() != SFace_const_handle() assertion error.
Feb 14, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Issue Details
Following on the investigation in #7205 here is an example which can be built using the facet cycles method, but not with the polyhedron incremental builder. This example isn't closed i.e the
is_closed
check was removed, but I think it's worth documenting here:Environment
The text was updated successfully, but these errors were encountered: