Skip to content

Behavioral difference between constructing a Nef_polyhedron_3 directly from OFF file and constructing from a Polyhedron_3 built from the same file #8500

Closed Answered by sloriot
gspr asked this question in Q&A
Discussion options

You must be logged in to vote

OFF_to_nef_3 is basically permissive to issues in the input (self-intersections, non-planar faces, ...).
When building from a Polyhedron, it is expected that for example there is no self-intersections and that all faces are planar. In the OFF that does not have the same behavior, one face is made of two non planar triangles, which is why you have an assertion failing.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by gspr
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants