23 # include <vcl_msvc_warnings.h> 94 #endif // vcsl_graph_h_ Spatial coordinate system transformation graph.
std::vector< vcsl_spatial_sptr > vertices_
Vertices of the graph: all the spatial coordinate systems.
~vcsl_graph() override=default
void put(const vcsl_spatial_sptr &cs)
Add ‘cs’ in ‘this’.
unsigned int count() const
Number of coordinate systems.
void remove(const vcsl_spatial_sptr &cs)
Remove ‘cs’ from ‘this’.
void init_vertices() const
Set the flag ‘reached’ to false for each spatial coordinate system.
vcsl_graph(vcsl_graph const &x)
bool valid_index(unsigned int index) const
Is ‘index’ valid in the list of the spatial coordinate systems ?.
bool has(const vcsl_spatial_sptr &cs) const
Has ‘this’ ‘cs’ as node ?.
vcsl_spatial_sptr item(unsigned int index) const
Spatial coordinate system number ‘index’.