CGAL 6.2 - 3D Boolean Operations on Nef Polyhedra
Loading...
Searching...
No Matches
CGAL Namespace Reference

Classes

class  Nef_nary_union_3
 This class helps to perform the union of a set of 3D Nef polyhedra efficiently. More...
 
class  Nef_polyhedron_3
 A 3D Nef polyhedron is a subset of the 3-dimensional space that is the result of forming complements and intersections starting from a finite set H of 3-dimensional halfspaces. More...
 

Functions

template<class NefPolyhedron_3 , class PolygonMesh >
void convert_nef_polyhedron_to_polygon_mesh (const NefPolyhedron_3 &nef, PolygonMesh &pm, bool triangulate_all_faces=false)
 Converts an object of type NefPolyhedron_3 into a polygon mesh model of MutableFaceGraph.
 
template<class NefPolyhedron_3 , typename PolygonRange , typename PointRange >
void convert_nef_polyhedron_to_polygon_soup (const NefPolyhedron_3 &nef, PointRange &points, PolygonRange &polygons, bool triangulate_all_faces=false)
 Converts an object of type NefPolyhedron_3 into a polygon soup.
 
template<class NP3 , class GSOptions >
void draw (const NP3 &np3, const GSOptions &gso)
 opens a new window and draws a nef polyhedron.
 
template<class NP3 >
void draw (const NP3 &np3)
 A shortcut to CGAL::draw(np3, Graphics_scene_options{}).
 
template<class NP3 , class GSOptions >
void add_to_graphics_scene (const NP3 &np3, CGAL::Graphics_scene &gs, const GSOptions &gso)
 adds the vertices, edges and faces of np3 into the given graphic scene gs.
 
template<class NP3 >
void add_to_graphics_scene (const NP3 &np3, CGAL::Graphics_scene &gs)
 A shortcut to CGAL::add_to_graphics_scene(np3, gs, Graphics_scene_options{}).
 
template<class Traits >
istream & operator>> (std::istream &in, CGAL::Nef_polyhedron_3< Traits > &N)
 This operator reads a Nef polyhedron, which is given in the proprietary file format written by the input operator in and assigns it to N.
 
template<class Traits >
ostream & operator<< (std::ostream &out, CGAL::Nef_polyhedron_3< Traits > &N)
 This operator writes the Nef polyhedron N to the output stream out using a proprietary file format.
 
template<class NefPolyhedron_3 >
std::size_t OFF_to_nef_3 (std::istream &in, NefPolyhedron_3 &N)
 This function creates a 3D Nef polyhedron from an OFF file which is read from input stream in.