Loading...
Searching...
No Matches
TriangulationForManifoldTracing.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): Siargey Kachanovich
4 *
5 * Copyright (C) 2019 Inria
6 *
7 * Modification(s):
8 * - YYYY/MM Author: Description of the modification
9 */
10
11#ifndef CONCEPT_COXETER_TRIANGULATION_TRIANGULATION_FOR_MANIFOLD_TRACING_H_
12#define CONCEPT_COXETER_TRIANGULATION_TRIANGULATION_FOR_MANIFOLD_TRACING_H_
13
14#include <Eigen/Dense>
15
16namespace Gudhi {
17
18namespace coxeter_triangulation {
19
27
31
38 template <class Point_d>
39 Simplex_handle locate_point(const Point_d& point) const;
40
44 Eigen::VectorXd cartesian_coordinates(const Vertex_handle& v) const;
45
49 Eigen::VectorXd barycenter(const Simplex_handle& s) const;
50};
51
52} // namespace coxeter_triangulation
53
54} // namespace Gudhi
55
56#endif
The concept TriangulationForManifoldTracing describes the requirements for a type to implement a tria...
Definition: TriangulationForManifoldTracing.h:23
typedef Vertex_handle
Type of the vertices in the triangulation. Needs to be a random-access range of integer values.
Definition: TriangulationForManifoldTracing.h:30
typedef Simplex_handle
Type of the simplices in the triangulation. Needs to be a model of the concept SimplexInCoxeterTriang...
Definition: TriangulationForManifoldTracing.h:26
Simplex_handle locate_point(const Point_d &point) const
Returns the permutahedral representation of the simplex in the triangulation that contains a given qu...
Eigen::VectorXd cartesian_coordinates(const Vertex_handle &v) const
Returns the Cartesian coordinates of the given vertex 'v'.
Eigen::VectorXd barycenter(const Simplex_handle &s) const
Returns the Cartesian coordinates of the barycenter of a given simplex 's'.
Handle type for the vertices of a cell complex.
Definition: VertexHandle.h:15