OFF file visitor implementation according to Off_reader in order to read points from an OFF file.
More...
template<typename Point_d>
class Gudhi::Points_off_visitor_reader< Point_d >
OFF file visitor implementation according to Off_reader in order to read points from an OFF file.
◆ get_point_cloud()
template<typename Point_d >
Point cloud getter.
- Returns
- point_cloud.
◆ init()
template<typename Point_d >
Off_reader visitor init implementation.
The init parameters are set from OFF file header. Dimension value is required in order to construct a vector of points.
- Parameters
-
[in] | dim | space dimension of vertices. |
[in] | num_vertices | number of vertices in the OFF file (not used). |
[in] | num_faces | number of faces in the OFF file (not used). |
[in] | num_edges | number of edges in the OFF file (not used). |
◆ point()
template<typename Point_d >
Off_reader visitor point implementation.
The point function is called on each vertex line from OFF file. This function inserts the vertex in the vector of points.
- Parameters
-
[in] | point | vector of vertex coordinates. |
Point_d must have a constructor with the following form:
template<class InputIterator > Point_d::Point_d(InputIterator first, InputIterator last)
The documentation for this class was generated from the following file: