DGtal 2.0.0
Loading...
Searching...
No Matches
DGtal::concepts::CDynamicBidirectionalSegmentComputer< T > Struct Template Reference

Aim: Defines the concept describing a dynamic and bidirectional segment computer, ie. a model of concepts::CSegment that can extend and retract itself in either direction. More...

#include <DGtal/geometry/curves/CDynamicBidirectionalSegmentComputer.h>

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

Public Member Functions

 BOOST_CONCEPT_USAGE (CDynamicBidirectionalSegmentComputer)
Public Member Functions inherited from DGtal::concepts::CBidirectionalSegmentComputer< T >
 BOOST_CONCEPT_USAGE (CBidirectionalSegmentComputer)
Public Member Functions inherited from DGtal::concepts::CIncrementalSegmentComputer< T >
 BOOST_CONCEPT_USAGE (CIncrementalSegmentComputer)
Public Member Functions inherited from DGtal::concepts::CSegmentFactory< T >
 BOOST_STATIC_ASSERT ((boost::is_same< T, Self >::value))
 BOOST_CONCEPT_USAGE (CSegmentFactory)
Public Member Functions inherited from DGtal::concepts::CSegment< T >
 BOOST_CONCEPT_USAGE (CSegment)
Public Member Functions inherited from DGtal::concepts::CDynamicSegmentComputer< T >
 BOOST_CONCEPT_USAGE (CDynamicSegmentComputer)

Private Attributes

myX
bool myB

Additional Inherited Members

Public Types inherited from DGtal::concepts::CSegmentFactory< T >
typedef T::Self Self
typedef T::Reverse Reverse
Public Types inherited from DGtal::concepts::CSegment< T >
typedef T::ConstIterator ConstIterator

Detailed Description

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

Aim: Defines the concept describing a dynamic and bidirectional segment computer, ie. a model of concepts::CSegment that can extend and retract itself in either direction.

Description of concept 'CDynamicBidirectionalSegmentComputer'

Refinement of concepts::CBidirectionalSegmentComputer and concepts::CDynamicSegmentComputer

Valid expressions and semantics

Name Expression Type requirements Return type Precondition Semantics Post condition Complexity
Backward retraction x.retractFront() bool returns 'true' if –x.end() != x.begin() (and decrements the end iterator), 'false' otherwise

Models

ArithmeticalDSSComputer, OneBalancedWordComputer

Notes

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

Definition at line 82 of file CDynamicBidirectionalSegmentComputer.h.

Member Function Documentation

◆ BOOST_CONCEPT_USAGE()

Field Documentation

◆ myB

template<typename T>
bool DGtal::concepts::CDynamicBidirectionalSegmentComputer< T >::myB
private

Definition at line 96 of file CDynamicBidirectionalSegmentComputer.h.

Referenced by BOOST_CONCEPT_USAGE().

◆ myX

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

Definition at line 95 of file CDynamicBidirectionalSegmentComputer.h.

Referenced by BOOST_CONCEPT_USAGE().


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