|
DGtal 1.4.2
|
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>
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 | |
| T | 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 |
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'
| 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
| T | the type that should be a model of CDynamicBidirectionalSegmentComputer. |
Definition at line 82 of file CDynamicBidirectionalSegmentComputer.h.
|
inline |
Definition at line 89 of file CDynamicBidirectionalSegmentComputer.h.
References DGtal::concepts::CDynamicBidirectionalSegmentComputer< T >::myB, DGtal::concepts::CDynamicBidirectionalSegmentComputer< T >::myX, and DGtal::concepts::ConceptUtils::sameType().
|
private |
Definition at line 96 of file CDynamicBidirectionalSegmentComputer.h.
Referenced by DGtal::concepts::CDynamicBidirectionalSegmentComputer< T >::BOOST_CONCEPT_USAGE().
|
private |
Definition at line 95 of file CDynamicBidirectionalSegmentComputer.h.
Referenced by DGtal::concepts::CDynamicBidirectionalSegmentComputer< T >::BOOST_CONCEPT_USAGE().