31 #if defined(CPowerMetric_RECURSES)
32 #error Recursive header files inclusion detected in CPowerMetric.h
35 #define CPowerMetric_RECURSES
37 #if !defined CPowerMetric_h
39 #define CPowerMetric_h
44 #include "DGtal/base/Common.h"
45 #include "DGtal/kernel/CSpace.h"
46 #include "DGtal/base/CQuantity.h"
141 #undef CPowerMetric_RECURSES
void sameType(const T &, const T &)
DGtal is the top-level namespace which contains all DGtal functions and types.
Aim: defines the concept of special weighted metrics, so called power metrics.
BOOST_CONCEPT_ASSERT((CSpace< Space >))
BOOST_CONCEPT_USAGE(CPowerMetric)
void checkConstConstraints() const
BOOST_CONCEPT_ASSERT((CQuantity< Weight >))
BOOST_CONCEPT_ASSERT((CQuantity< Value >))
Aim: defines the concept of quantity in DGtal.
Aim: Defines the concept describing a digital space, ie a cartesian product of integer lines.
Go to http://www.sgi.com/tech/stl/Assignable.html.
Go to http://www.sgi.com/tech/stl/CopyConstructible.html.