DGtal  1.5.beta
DGtal::concepts::CPowerSeparableMetric< T > Struct Template Reference

Aim: defines the concept of separable metrics. More...

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

Inheritance 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

◆ Point

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

Definition at line 93 of file CPowerSeparableMetric.h.

◆ Weight

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

Definition at line 94 of file CPowerSeparableMetric.h.

Member Function Documentation

◆ BOOST_CONCEPT_USAGE()

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

◆ checkConstConstraints()

template<typename T >
void DGtal::concepts::CPowerSeparableMetric< T >::checkConstConstraints ( ) const
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().

Field Documentation

◆ dim

◆ end

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

Definition at line 109 of file CPowerSeparableMetric.h.

◆ myBool

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

◆ myX

template<typename T >
T DGtal::concepts::CPowerSeparableMetric< T >::myX
private

◆ start

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

Definition at line 109 of file CPowerSeparableMetric.h.

◆ u

◆ v

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

Definition at line 109 of file CPowerSeparableMetric.h.

◆ w

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

Definition at line 109 of file CPowerSeparableMetric.h.

◆ wu

◆ wv

◆ ww


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