CGAL::OFF_to_nef_3

Definition

This constructor creates a 3D Nef polyhedron from OFF file. OFF file is read from input stream in. The purpose of OFF_to_nef_3 is to create a Nef polyhedron from an OFF file that cannot be handled by the Nef_polyhedron_3 constructors. It handles double coordinates while using a homogenous kernel, non-coplanar facets, surfaces with boundaries, self-intersecting surfaces, and single facets. Every closed volume gets marked. The function returns the number of facets it could not handle.

template<class Nef_polyhedron_3>
std::size_t OFF_to_nef_3 ( std::istream& in, Nef_polyhedron_3& N)

See Also

CGAL::Nef_polyhedron_3<Traits>