DGtal
0.6.devel
|
#include <CBidirectionalSegmentComputer.h>
Public Member Functions | |
BOOST_CONCEPT_USAGE (CBidirectionalSegmentComputer) |
Private Attributes | |
T | myX |
bool | myB |
Aim: Defines the concept describing a bidirectional segment computer, ie. a model of CSegment that can extend itself in the two possible directions.
Description of concept 'CBidirectionalSegmentComputer'
Name | Expression | Type requirements | Return type | Precondition | Semantics | Postcondition | Complexity |
extension test | x.isExtendableBackward() | bool | check wether x can be extended to –x.begin() or not | ||||
extension | x.extendBackward() | bool | check wether x can be extended to –x.begin() or not, extend if true |
ArithmeticalDSS3d, GeometricalDSS, GeometricalDCA
T | the type that should be a model of CBidirectionalSegmentComputer. |
Definition at line 114 of file CBidirectionalSegmentComputer.h.
|
inline |
Definition at line 119 of file CBidirectionalSegmentComputer.h.
References DGtal::CBidirectionalSegmentComputer< T >::myB, DGtal::CBidirectionalSegmentComputer< T >::myX, and DGtal::ConceptUtils::sameType().
|
private |
Reimplemented from DGtal::CIncrementalSegmentComputer< T >.
Reimplemented in DGtal::CDynamicBidirectionalSegmentComputer< T >.
Definition at line 127 of file CBidirectionalSegmentComputer.h.
Referenced by DGtal::CBidirectionalSegmentComputer< T >::BOOST_CONCEPT_USAGE().
|
private |
Reimplemented from DGtal::CIncrementalSegmentComputer< T >.
Reimplemented in DGtal::CDynamicBidirectionalSegmentComputer< T >.
Definition at line 126 of file CBidirectionalSegmentComputer.h.
Referenced by DGtal::CBidirectionalSegmentComputer< T >::BOOST_CONCEPT_USAGE().