Off_reader_interface.h
1 /* This file is part of the Gudhi Library - https://gudhi.inria.fr/ - which is released under MIT.
2  * See file LICENSE or go to https://gudhi.inria.fr/licensing/ for full license details.
3  * Author(s): Vincent Rouvreau
4  *
5  * Copyright (C) 2016 Inria
6  *
7  * Modification(s):
8  * - YYYY/MM Author: Description of the modification
9  */
10 
11 #ifndef INCLUDE_OFF_READER_INTERFACE_H_
12 #define INCLUDE_OFF_READER_INTERFACE_H_
13 
14 #include <gudhi/Points_off_io.h>
15 
16 #include <iostream>
17 #include <vector>
18 #include <string>
19 
20 namespace Gudhi {
21 
22 std::vector<std::vector<double>> read_points_from_OFF_file(const std::string& off_file) {
24  return off_reader.get_point_cloud();
25 }
26 
27 } // namespace Gudhi
28 
29 #endif // INCLUDE_OFF_READER_INTERFACE_H_
30 
OFF file reader implementation in order to read points from an OFF file.
Definition: Points_off_io.h:122
GUDHIdev  Version 3.5.0  - C++ library for Topological Data Analysis (TDA) and Higher Dimensional Geometry Understanding.  - Copyright : MIT Generated on Sun May 1 2022 09:19:32 for GUDHIdev by Doxygen 1.9.1