OFF file reader top class visitor. More...
Public Member Functions | |
template<typename OffVisitor > | |
bool | read (OffVisitor &off_visitor) |
Read an OFF file and calls the following methods : More... | |
OFF file reader top class visitor.
OFF file must be conform to format described here : http://www.geomview.org/docs/html/OFF.html
|
inline |
Read an OFF file and calls the following methods :
void init(int dim,int num_vertices,int num_faces,int num_edges); // from file header - num_edges may not be set
void point(const std::vector<double>& point); // for each point read
void maximal_face(const std::list<int>& face); // for each face read
void done(); // upon file read is finished
of the visitor when reading a point or a maximal face. Edges are not taken into account.
GUDHI Version 2.2.0 - C++ library for Topological Data Analysis (TDA) and Higher Dimensional Geometry Understanding. - Copyright : GPL v3 | Generated on Thu Jun 14 2018 15:00:55 for GUDHI by Doxygen 1.8.13 |