#include <HyperHDG/hy_assert.hxx>
#include <algorithm>
#include <deque>
#include <fstream>
#include <sstream>
#include <string>
Go to the source code of this file.
|
template<unsigned int dim, template< typename... > typename vectorT = std::vector, typename pointT = Point<dim, float>, typename index_t = decltype(std::declval<vectorT>().size())> |
void | make_epsilon_neighborhood_graph (std::string &filename) |
| Construct epsilon neighborhood graph from a file that contains only points. More...
|
|
◆ make_epsilon_neighborhood_graph()
template<unsigned int dim, template< typename... > typename vectorT = std::vector, typename pointT = Point<dim, float>, typename index_t = decltype(std::declval<vectorT>().size())>
void make_epsilon_neighborhood_graph |
( |
std::string & |
filename | ) |
|
Construct epsilon neighborhood graph from a file that contains only points.
This function takes a filename that belongs to a .pts file containing only points and writes the corresponding epsilon neighborhood graph (if it is a valid one) to filename.geo.
- Parameters
-
filename | Name of the file containing the points. |
- Return values
-
filename.geo | File containing the respective epsilon neighborhood graph. |