Loading...
Searching...
No Matches
TriangulationForManifoldTracing.h
/* This file is part of the Gudhi Library - https://gudhi.inria.fr/ - which is released under MIT.
* See file LICENSE or go to https://gudhi.inria.fr/licensing/ for full license details.
* Author(s): Siargey Kachanovich
*
* Copyright (C) 2019 Inria
*
* Modification(s):
* - YYYY/MM Author: Description of the modification
*/
#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 {
struct TriangulationForManifoldTracing {
typedef Simplex_handle;
typedef Vertex_handle;
template <class Point_d>
Simplex_handle locate_point(const Point_d& point) const;
Eigen::VectorXd cartesian_coordinates(const Vertex_handle& v) const;
Eigen::VectorXd barycenter(const Simplex_handle& s) const;
};
} // namespace coxeter_triangulation
} // namespace Gudhi
#endif
Gudhi
Gudhi namespace.
Definition SimplicialComplexForAlpha.h:14
Gudhi::coxeter_triangulation::TriangulationForManifoldTracing
The concept TriangulationForManifoldTracing describes the requirements for a type to implement a tria...
Definition TriangulationForManifoldTracing.h:23
Gudhi::coxeter_triangulation::TriangulationForManifoldTracing::Vertex_handle
typedef Vertex_handle
Type of the vertices in the triangulation. Needs to be a random-access range of integer values.
Definition TriangulationForManifoldTracing.h:30
Gudhi::coxeter_triangulation::TriangulationForManifoldTracing::Simplex_handle
typedef Simplex_handle
Type of the simplices in the triangulation. Needs to be a model of the concept SimplexInCoxeterTriang...
Definition TriangulationForManifoldTracing.h:26
Gudhi::coxeter_triangulation::TriangulationForManifoldTracing::locate_point
Simplex_handle locate_point(const Point_d &point) const
Returns the permutahedral representation of the simplex in the triangulation that contains a given qu...
Gudhi::coxeter_triangulation::TriangulationForManifoldTracing::cartesian_coordinates
Eigen::VectorXd cartesian_coordinates(const Vertex_handle &v) const
Returns the Cartesian coordinates of the given vertex 'v'.
Gudhi::coxeter_triangulation::TriangulationForManifoldTracing::barycenter
Eigen::VectorXd barycenter(const Simplex_handle &s) const
Returns the Cartesian coordinates of the barycenter of a given simplex 's'.