DGtal 1.3.0
|
Aim: defines the concept of separable metrics. More...
#include <DGtal/geometry/volumes/distance/CPowerSeparableMetric.h>
Public Types | |
typedef T::Point | Point |
typedef T::Weight | Weight |
Public Types inherited from DGtal::concepts::CPowerMetric< T > | |
typedef T::Space | Space |
typedef T::Weight | Weight |
typedef T::Value | Value |
typedef T::Point | Point |
Public Member Functions | |
BOOST_CONCEPT_USAGE (CPowerSeparableMetric) | |
void | checkConstConstraints () const |
Public Member Functions inherited from DGtal::concepts::CPowerMetric< T > | |
BOOST_CONCEPT_ASSERT ((CSpace< Space >)) | |
BOOST_CONCEPT_ASSERT ((CQuantity< Value >)) | |
BOOST_CONCEPT_ASSERT ((CQuantity< Weight >)) | |
BOOST_CONCEPT_USAGE (CPowerMetric) | |
void | checkConstConstraints () const |
Private Attributes | |
T | myX |
Point | u |
Point | v |
Point | w |
Point | start |
Point | end |
Weight | ww |
Weight | wu |
Weight | wv |
bool | myBool |
DGtal::Dimension | dim |
Aim: defines the concept of separable metrics.
Description of concept 'CPowerSeparableMetric'
Separable metrics are metrics satsifying the monotonicity property.
Name | Expression | Type requirements | Return type | Precondition | Semantics | Post condition | Complexity |
---|---|---|---|---|---|---|---|
hiddenBy predicate | hiddenByPower(u,Wu,v,Wv,w,Wv,startingPoint,endPoint,dim) | u,v,w,startingPoint,endPoint of type Point, Wu,Wv,Ww of type Weight, dim of type DGtal::Dimension | startingPoint and endPoint only differ by their dim-th coordinate | returns true if the intersection between the segment [startingPoint,endPoint] and the Voronoi cell associated with v is empty (hidden on the segment by u and w Voronoi cells). | - |
ExactPredicateLpPowerSeparableMetric,
T | the type that should be a model of CPowerSeparableMetric. |
Definition at line 89 of file CPowerSeparableMetric.h.
typedef T::Point DGtal::concepts::CPowerSeparableMetric< T >::Point |
Definition at line 93 of file CPowerSeparableMetric.h.
typedef T::Weight DGtal::concepts::CPowerSeparableMetric< T >::Weight |
Definition at line 94 of file CPowerSeparableMetric.h.
|
inline |
Definition at line 96 of file CPowerSeparableMetric.h.
References DGtal::concepts::CPowerSeparableMetric< T >::checkConstConstraints().
|
inline |
Definition at line 100 of file CPowerSeparableMetric.h.
References DGtal::concepts::CPowerSeparableMetric< T >::dim, DGtal::concepts::CPowerSeparableMetric< T >::myBool, DGtal::concepts::CPowerSeparableMetric< T >::myX, DGtal::concepts::ConceptUtils::sameType(), DGtal::concepts::CPowerSeparableMetric< T >::u, DGtal::concepts::CPowerSeparableMetric< T >::wu, DGtal::concepts::CPowerSeparableMetric< T >::wv, and DGtal::concepts::CPowerSeparableMetric< T >::ww.
Referenced by DGtal::concepts::CPowerSeparableMetric< T >::BOOST_CONCEPT_USAGE().
|
private |
Definition at line 112 of file CPowerSeparableMetric.h.
Referenced by DGtal::concepts::CPowerSeparableMetric< T >::checkConstConstraints().
|
private |
Definition at line 109 of file CPowerSeparableMetric.h.
|
private |
Definition at line 111 of file CPowerSeparableMetric.h.
Referenced by DGtal::concepts::CPowerSeparableMetric< T >::checkConstConstraints().
|
private |
Definition at line 108 of file CPowerSeparableMetric.h.
Referenced by DGtal::concepts::CPowerSeparableMetric< T >::checkConstConstraints().
|
private |
Definition at line 109 of file CPowerSeparableMetric.h.
|
private |
Definition at line 109 of file CPowerSeparableMetric.h.
Referenced by DGtal::concepts::CPowerSeparableMetric< T >::checkConstConstraints().
|
private |
Definition at line 109 of file CPowerSeparableMetric.h.
|
private |
Definition at line 109 of file CPowerSeparableMetric.h.
|
private |
Definition at line 110 of file CPowerSeparableMetric.h.
Referenced by DGtal::concepts::CPowerSeparableMetric< T >::checkConstConstraints().
|
private |
Definition at line 110 of file CPowerSeparableMetric.h.
Referenced by DGtal::concepts::CPowerSeparableMetric< T >::checkConstConstraints().
|
private |
Definition at line 110 of file CPowerSeparableMetric.h.
Referenced by DGtal::concepts::CPowerSeparableMetric< T >::checkConstConstraints().