$extrastylesheet
Olena  User documentation 2.1
An Image Processing Platform
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
mln::discrete_plane_1complex_geometry Class Reference

#include <mln/core/alias/complex_geometry.hh>

Public Member Functions

 discrete_plane_1complex_geometry ()
unsigned add_location (const point2d &p)
site operator() (const mln::topo::face< D > &f) const
void reserve (size_t n)

Public Types

typedef point2d location
typedef util::multi_site< point2dsite

Detailed Description

Type alias for the geometry of a 1-complex (e.g., a graph) located in a discrete 2-dimensional plane (with integer coordinates).

Definition at line 6 of file complex_geometry.dox.

Constructor & Destructor Documentation

mln::discrete_plane_1complex_geometry::discrete_plane_1complex_geometry ( )

Member Function Documentation

unsigned mln::geom::complex_geometry< D, point2d >::add_location ( const point2d p)
inherited

Populate the set of locations.

Append a new location p. Return the index of the newly created location (which should semantically match the id of the corresonding 0-face in the complex).

site mln::geom::complex_geometry< D, point2d >::operator() ( const mln::topo::face< D > &  f) const
inherited

Retrieve the site associated to f.

void mln::geom::complex_geometry< D, point2d >::reserve ( size_t  n)
inherited

Pre-allocate memory.

Member Typedef Documentation

Definition at line 92 of file geom/complex_geometry.hh.

Definition at line 93 of file geom/complex_geometry.hh.