DGtal  0.9.4beta
Public Types | Public Member Functions | Private Attributes
DGtal::concepts::CPowerSeparableMetric< T > Struct Template Reference

#include <DGtal/geometry/volumes/distance/CPowerSeparableMetric.h>

Inheritance diagram for DGtal::concepts::CPowerSeparableMetric< T >:
[legend]
Collaboration diagram for DGtal::concepts::CPowerSeparableMetric< T >:
[legend]

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

myX
 
Point u
 
Point v
 
Point w
 
Point start
 
Point end
 
Weight ww
 
Weight wu
 
Weight wv
 
bool myBool
 
DGtal::Dimension dim
 

Detailed Description

template<typename T>
struct DGtal::concepts::CPowerSeparableMetric< T >

Aim: defines the concept of separable metrics.

Description of concept 'CPowerSeparableMetric'

Separable metrics are metrics satsifying the monotonicity property.

Refinement of CPowerMetric

Associated types :

Notation

Definitions

Valid expressions and semantics

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). -

Invariants

Models

ExactPredicateLpPowerSeparableMetric,

Notes

Template Parameters
Tthe type that should be a model of CPowerSeparableMetric.

Definition at line 89 of file CPowerSeparableMetric.h.

Member Typedef Documentation

template<typename T >
typedef T::Point DGtal::concepts::CPowerSeparableMetric< T >::Point

Definition at line 93 of file CPowerSeparableMetric.h.

template<typename T >
typedef T::Weight DGtal::concepts::CPowerSeparableMetric< T >::Weight

Definition at line 94 of file CPowerSeparableMetric.h.

Member Function Documentation

template<typename T >
DGtal::concepts::CPowerSeparableMetric< T >::BOOST_CONCEPT_USAGE ( CPowerSeparableMetric< T >  )
inline
template<typename T >
void DGtal::concepts::CPowerSeparableMetric< T >::checkConstConstraints ( ) const
inline

Field Documentation

template<typename T >
DGtal::Dimension DGtal::concepts::CPowerSeparableMetric< T >::dim
private
template<typename T >
Point DGtal::concepts::CPowerSeparableMetric< T >::end
private

Definition at line 109 of file CPowerSeparableMetric.h.

template<typename T >
bool DGtal::concepts::CPowerSeparableMetric< T >::myBool
private
template<typename T >
T DGtal::concepts::CPowerSeparableMetric< T >::myX
private
template<typename T >
Point DGtal::concepts::CPowerSeparableMetric< T >::start
private

Definition at line 109 of file CPowerSeparableMetric.h.

template<typename T >
Point DGtal::concepts::CPowerSeparableMetric< T >::u
private
template<typename T >
Point DGtal::concepts::CPowerSeparableMetric< T >::v
private

Definition at line 109 of file CPowerSeparableMetric.h.

template<typename T >
Point DGtal::concepts::CPowerSeparableMetric< T >::w
private

Definition at line 109 of file CPowerSeparableMetric.h.

template<typename T >
Weight DGtal::concepts::CPowerSeparableMetric< T >::wu
private
template<typename T >
Weight DGtal::concepts::CPowerSeparableMetric< T >::wv
private
template<typename T >
Weight DGtal::concepts::CPowerSeparableMetric< T >::ww
private

The documentation for this struct was generated from the following file: