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...
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
-
Definition at line 82 of file CDynamicBidirectionalSegmentComputer.h.