File failed to load: https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.3/config/TeX-MML-AM_CHTML/MathJax.js
DGtal 2.0.0
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

Definition at line 96 of file CPowerSeparableMetric.h.

References checkConstConstraints().

◆ checkConstConstraints()

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

Definition at line 100 of file CPowerSeparableMetric.h.

References dim, end, myBool, myX, DGtal::concepts::ConceptUtils::sameType(), start, u, v, w, wu, wv, and ww.

Referenced by BOOST_CONCEPT_USAGE().

Field Documentation

◆ dim

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

Definition at line 112 of file CPowerSeparableMetric.h.

Referenced by checkConstConstraints().

◆ end

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

Definition at line 109 of file CPowerSeparableMetric.h.

Referenced by checkConstConstraints().

◆ myBool

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

Definition at line 111 of file CPowerSeparableMetric.h.

Referenced by checkConstConstraints().

◆ myX

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

Definition at line 108 of file CPowerSeparableMetric.h.

Referenced by checkConstConstraints().

◆ start

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

Definition at line 109 of file CPowerSeparableMetric.h.

Referenced by checkConstConstraints().

◆ u

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

Definition at line 109 of file CPowerSeparableMetric.h.

Referenced by checkConstConstraints().

◆ v

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

Definition at line 109 of file CPowerSeparableMetric.h.

Referenced by checkConstConstraints().

◆ w

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

Definition at line 109 of file CPowerSeparableMetric.h.

Referenced by checkConstConstraints().

◆ wu

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

Definition at line 110 of file CPowerSeparableMetric.h.

Referenced by checkConstConstraints().

◆ wv

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

Definition at line 110 of file CPowerSeparableMetric.h.

Referenced by checkConstConstraints().

◆ ww

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

Definition at line 110 of file CPowerSeparableMetric.h.

Referenced by checkConstConstraints().


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