DGtal  0.9.2
Public Member Functions | Private Attributes
DGtal::concepts::CDynamicBidirectionalSegmentComputer< T > Struct Template Reference

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

Inheritance diagram for DGtal::concepts::CDynamicBidirectionalSegmentComputer< T >:
Collaboration diagram for DGtal::concepts::CDynamicBidirectionalSegmentComputer< 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))
- Public Member Functions inherited from DGtal::concepts::CSegment< T >
- Public Member Functions inherited from DGtal::concepts::CDynamicSegmentComputer< T >
 BOOST_CONCEPT_USAGE (CDynamicSegmentComputer)

Private Attributes

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


ArithmeticalDSSComputer, OneBalancedWordComputer


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

Definition at line 82 of file CDynamicBidirectionalSegmentComputer.h.

Member Function Documentation

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

Field Documentation

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

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