CGAL 6.1 - Homological Discrete Vector Fields
Loading...
Searching...
No Matches
GeometricChainComplex Concept Reference

Definition

The concept GeometricChainComplex refines the concept AbstractChainComplex and describes the requirements for (topological) chain complexes associated to geometric complexes used in the concept CGAL::HDVF. It adds to AbstractChainComplex methods to get vertices coordinates.

Refines
AbstractChainComplex
Has models
CGAL::HDVF::Simplicial_chain_complex<CoefficientType>
CGAL::HDVF::Cubical_chain_complex<CoefficientType>

Types

typedef std::vector< double > Point
 Type of coordinates (the vector size is free, hence coordinates can be any dimension).
 

Access functions

const std::vector< Point > & get_vertices_coords () const
 Returns the vector of vertices coordinates.
 
Point get_vertex_coords (size_t i) const
 Returns the coordinates of the cell of index i and dimension 0.