CGAL 5.6 - 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 Nef_polyhedron , class Polygon_mesh >
void convert_nef_polyhedron_to_polygon_mesh (const Nef_polyhedron &nef, Polygon_mesh &pm, bool triangulate_all_faces=false)
 Converts an object of type Nef_polyhedron_3 into a polygon mesh model of MutableFaceGraph.
 
template<class Nef_polyhedron , typename PolygonRange , typename PointRange >
void convert_nef_polyhedron_to_polygon_soup (const Nef_polyhedron &nef, PointRange &points, PolygonRange &polygons, bool triangulate_all_faces=false)
 Converts an object of type Nef_polyhedron_3 into a polygon soup.
 
template<class Nef3 >
void draw (const Nef3 &anef3)
 Open a new window and draws anef3, the Nef_polyhedron_3.
 
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 Nef_polyhedron_3 >
std::size_t OFF_to_nef_3 (std::istream &in, Nef_polyhedron_3 &N)
 This function creates a 3D Nef polyhedron from an OFF file which is read from input stream in.