DGtal
0.6.devel
|
#include <CDynamicSegmentComputer.h>
Public Member Functions | |
BOOST_CONCEPT_USAGE (CDynamicSegmentComputer) |
Private Attributes | |
T | myX |
bool | myB |
Aim: Defines the concept describing a dynamic segment computer, ie. a model of CSegment that can extend and retract itself (in the direction that is relative to the underlying iterator).
Description of concept 'CDynamicSegmentComputer'
Name | Expression | Type requirements | Return type | Precondition | Semantics | Postcondition | Complexity |
retraction | x.retractForward() | bool | returns 'true' if ++x.begin() != x.end() (and increments the begin iterator), 'false' otherwise |
T | the type that should be a model of CDynamicSegmentComputer. |
Definition at line 103 of file CDynamicSegmentComputer.h.
|
inline |
Reimplemented in DGtal::CDynamicBidirectionalSegmentComputer< T >.
Definition at line 108 of file CDynamicSegmentComputer.h.
References DGtal::CDynamicSegmentComputer< T >::myB, DGtal::CDynamicSegmentComputer< T >::myX, and DGtal::ConceptUtils::sameType().
|
private |
Reimplemented from DGtal::CIncrementalSegmentComputer< T >.
Reimplemented in DGtal::CDynamicBidirectionalSegmentComputer< T >.
Definition at line 115 of file CDynamicSegmentComputer.h.
Referenced by DGtal::CDynamicSegmentComputer< T >::BOOST_CONCEPT_USAGE().
|
private |
Reimplemented from DGtal::CIncrementalSegmentComputer< T >.
Reimplemented in DGtal::CDynamicBidirectionalSegmentComputer< T >.
Definition at line 114 of file CDynamicSegmentComputer.h.
Referenced by DGtal::CDynamicSegmentComputer< T >::BOOST_CONCEPT_USAGE().