SimplexInCoxeterTriangulation.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_SIMPLEX_IN_COXETER_TRIANGULATION_H_
12 #define CONCEPT_COXETER_TRIANGULATION_SIMPLEX_IN_COXETER_TRIANGULATION_H_
13 
14 #include <cstdlib> // for std::size_t
15 
16 #include <gudhi/Permutahedral_representation.h>
17 
18 namespace Gudhi {
19 
20 namespace coxeter_triangulation {
21 
28  typedef Vertex_ Vertex;
29 
31  typedef Ordered_set_partition_ OrderedSetPartition;
32 
34  unsigned dimension() const;
35 
37  typedef Vertex_range;
38 
42 
46  typedef Face_range;
47 
51  Face_range face_range(std::size_t k) const;
52 
57 
61  typedef Coface_range;
62 
66  Coface_range coface_range(std::size_t k) const;
67 
72 
74  bool is_face_of(const Permutahedral_representation& other) const;
75 };
76 
77 } // namespace coxeter_triangulation
78 
79 } // namespace Gudhi
80 
81 #endif
A class that stores the permutahedral representation of a simplex in a Coxeter triangulation or a Fre...
Definition: Permutahedral_representation.h:38
Gudhi namespace.
Definition: SimplicialComplexForAlpha.h:14
The concept SimplexInCoxeterTriangulation describes the requirements for a type to implement a repres...
Definition: SimplexInCoxeterTriangulation.h:26
Coface_range coface_range(std::size_t k) const
Returns a range of permutahedral representations of k-dimensional cofaces of the simplex for some giv...
unsigned dimension() const
Dimension of the simplex.
Face_range facet_range() const
Returns a range of permutahedral representations of facets of the simplex. The dimension of the simpl...
Face_range face_range(std::size_t k) const
Returns a range of permutahedral representations of k-dimensional faces of the simplex for some given...
bool is_face_of(const Permutahedral_representation &other) const
Returns true, if the simplex is a face of other simplex.
typedef Vertex_range
Type of a range of vertices, each of type Vertex.
Definition: SimplexInCoxeterTriangulation.h:37
Vertex_range vertex_range() const
Returns a range of vertices of the simplex.
typedef Coface_range
Type of a range of cofaces, each of type that is a model of the concept SimplexInCoxeterTriangulation...
Definition: SimplexInCoxeterTriangulation.h:61
Ordered_set_partition_ OrderedSetPartition
Type of the ordered partition.
Definition: SimplexInCoxeterTriangulation.h:31
Coface_range cofacet_range() const
Returns a range of permutahedral representations of cofacets of the simplex. The dimension of the sim...
typedef Face_range
Type of a range of faces, each of type that is a model of the concept SimplexInCoxeterTriangulation.
Definition: SimplexInCoxeterTriangulation.h:46
Vertex_ Vertex
Type of the vertex.
Definition: SimplexInCoxeterTriangulation.h:28