Open andlarson opened 3 months ago
With Extended Cartesian this is probably the infimaximal box.
Ah, that makes sense, thanks for the hint.
@andlarson can you confirm that this is the explanation? It might make sense to draw the cube only as wire frame, based on the Point_type
documented here.
@afabri - that's again extended coordinates. I've added a new comment to my issue, which was closed in 2023 - no segmentation fault anymore, but the picture looks strange. Please see: https://github.com/CGAL/cgal/issues/7377#issuecomment-2424526757.
Thank you!
Issue Details
I created a 3D Nef Polyhedra composed of a single halfspace and then attempted to draw it using CGAL::draw() from
draw_nef_3.h
. The drawing window contains a rendering of the halfspace but it also contains a mysterious cube. It's not clear to me why a cube is being rendered - my code never issues a command to draw a Nef Polyhedra that looks like a cube. How can I get rid of this cube from the drawing? Is the cube supposed to be there?I've tried drawing other 3D Nef Polyhedra and I never can seem to get this cube to disappear. It interferes when drawing more complex 3D Nef Polyhedra.
Source Code
When I run this code, "Using OpenGL context 4.1 GL" is emitted.
Environment