DGtal 1.3.0
Loading...
Searching...
No Matches
Public Member Functions | Private Attributes
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 >:
DGtal::concepts::CBidirectionalSegmentComputer< T > DGtal::concepts::CDynamicSegmentComputer< T > DGtal::concepts::CForwardSegmentComputer< T > DGtal::concepts::CForwardSegmentComputer< T > DGtal::concepts::CIncrementalSegmentComputer< T > DGtal::concepts::CIncrementalSegmentComputer< T > DGtal::concepts::CSegmentFactory< T > DGtal::concepts::CSegmentFactory< T > DGtal::concepts::CSegment< T > DGtal::concepts::CSegment< T > boost::EqualityComparable< T > boost::Assignable< T > boost::CopyConstructible< T > boost::DefaultConstructible< T > boost::EqualityComparable< T > boost::Assignable< T > boost::CopyConstructible< T > boost::DefaultConstructible< T >

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

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

Field Documentation

◆ myB

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

◆ myX

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

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