DGtal 1.3.0
|
Aim: Defines the concept describing a bidirectional segment computer,
ie. a model of concepts::CSegment that can extend itself in the two possible directions.
More...
#include <DGtal/geometry/curves/CBidirectionalSegmentComputer.h>
Public Member Functions | |
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) | |
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 bidirectional segment computer,
ie. a model of concepts::CSegment that can extend itself in the two possible directions.
Description of concept 'CBidirectionalSegmentComputer'
Name | Expression | Type requirements | Return type | Precondition | Semantics | Post condition | Complexity |
---|---|---|---|---|---|---|---|
Extension test | x.isExtendableBack() | bool | check whether x can be extended to - -x.begin() or not | ||||
Extension | x.extendBack() | bool | check whether x can be extended to - -x.begin() or not, extend if true |
StandardDSS6Computer, StabbingLineComputer, StabbingCircleComputer
T | the type that should be a model of CBidirectionalSegmentComputer. |
Definition at line 90 of file CBidirectionalSegmentComputer.h.
|
inline |
Definition at line 95 of file CBidirectionalSegmentComputer.h.
References DGtal::concepts::CBidirectionalSegmentComputer< T >::myB, DGtal::concepts::CBidirectionalSegmentComputer< T >::myX, and DGtal::concepts::ConceptUtils::sameType().
|
private |
Definition at line 103 of file CBidirectionalSegmentComputer.h.
Referenced by DGtal::concepts::CBidirectionalSegmentComputer< T >::BOOST_CONCEPT_USAGE().
|
private |
Definition at line 102 of file CBidirectionalSegmentComputer.h.
Referenced by DGtal::concepts::CBidirectionalSegmentComputer< T >::BOOST_CONCEPT_USAGE().