diff options
Diffstat (limited to 'src/Coxeter_triangulation/concept/TriangulationForManifoldTracing.h')
-rw-r--r-- | src/Coxeter_triangulation/concept/TriangulationForManifoldTracing.h | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/src/Coxeter_triangulation/concept/TriangulationForManifoldTracing.h b/src/Coxeter_triangulation/concept/TriangulationForManifoldTracing.h index 4f3d4411..2b5d568c 100644 --- a/src/Coxeter_triangulation/concept/TriangulationForManifoldTracing.h +++ b/src/Coxeter_triangulation/concept/TriangulationForManifoldTracing.h @@ -11,23 +11,24 @@ #ifndef CONCEPT_COXETER_TRIANGULATION_TRIANGULATION_FOR_MANIFOLD_TRACING_H_ #define CONCEPT_COXETER_TRIANGULATION_TRIANGULATION_FOR_MANIFOLD_TRACING_H_ +#include <Eigen/Dense> + namespace Gudhi { namespace coxeter_triangulation { -/** \brief The concept TriangulationForManifoldTracing describes the requirements +/** \brief The concept TriangulationForManifoldTracing describes the requirements * for a type to implement a triangulation class used for example in Manifold_tracing. */ struct TriangulationForManifoldTracing { - - /** \brief Type of the simplices in the triangulation. + /** \brief Type of the simplices in the triangulation. * Needs to be a model of the concept SimplexInCoxeterTriangulation. */ typedef Simplex_handle; - /** \brief Type of the vertices in the triangulation. + /** \brief Type of the vertices in the triangulation. * Needs to be a random-access range of integer values. */ typedef Vertex_handle; - + /** \brief Returns the permutahedral representation of the simplex in the * triangulation that contains a given query point 'p'. * \tparam Point_d A class that represents a point in d-dimensional Euclidean space. @@ -37,21 +38,19 @@ struct TriangulationForManifoldTracing { template <class Point_d> Simplex_handle locate_point(const Point_d& point) const; - /** \brief Returns the Cartesian coordinates of the given vertex 'v'. + /** \brief Returns the Cartesian coordinates of the given vertex 'v'. * @param[in] v The input vertex. */ Eigen::VectorXd cartesian_coordinates(const Vertex_handle& v) const; - /** \brief Returns the Cartesian coordinates of the barycenter of a given simplex 's'. + /** \brief Returns the Cartesian coordinates of the barycenter of a given simplex 's'. * @param[in] s The input simplex given by permutahedral representation. */ Eigen::VectorXd barycenter(const Simplex_handle& s) const; - }; } // namespace coxeter_triangulation } // namespace Gudhi - #endif |