Public Member Functions | |
Points_3D_off_reader (const std::string &name_file) | |
Reads the OFF file and constructs a vector of points from the points that are in the OFF file. More... | |
bool | is_valid () const |
Returns if the OFF file read operation was successful or not. More... | |
const std::vector< Point_3 > & | get_point_cloud () const |
Point cloud getter. More... | |
@brief OFF file reader implementation in order to read dimension 3 points from an OFF file.
This class is using the Points_3D_off_visitor_reader to visit the OFF file according to Off_reader.
Point_3 must have a constructor with the following form:
This example loads points from an OFF file and builds a vector of CGAL points in dimension 3. Then, it is asked to display the points.
When launching:
the program output is:
|
inline |
Reads the OFF file and constructs a vector of points from the points that are in the OFF file.
[in] | name_file | OFF file to read. |
|
inline |
Point cloud getter.
|
inline |
Returns if the OFF file read operation was successful or not.
GUDHI Version 3.1.1 - C++ library for Topological Data Analysis (TDA) and Higher Dimensional Geometry Understanding. - Copyright : MIT | Generated on Fri Feb 7 2020 16:35:36 for GUDHI by Doxygen 1.8.13 |