DGtal  0.9.3
Public Member Functions | Private Attributes
DGtal::concepts::CBidirectionalSegmentComputer< T > Struct Template Reference

#include <DGtal/geometry/curves/CBidirectionalSegmentComputer.h>

Inheritance diagram for DGtal::concepts::CBidirectionalSegmentComputer< T >:
Collaboration diagram for DGtal::concepts::CBidirectionalSegmentComputer< T >:

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))
- Public Member Functions inherited from DGtal::concepts::CSegment< T >

Private Attributes

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

Detailed Description

template<typename T>
struct DGtal::concepts::CBidirectionalSegmentComputer< T >

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'

Refinement of CForwardSegmentComputer

Associated types : the same as concepts::CForwardSegmentComputer



Valid expressions and

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


Template Parameters
Tthe type that should be a model of CBidirectionalSegmentComputer.

Definition at line 90 of file CBidirectionalSegmentComputer.h.

Member Function Documentation


template<typename T >
DGtal::concepts::CBidirectionalSegmentComputer< T >::BOOST_CONCEPT_USAGE ( CBidirectionalSegmentComputer< T >  )

Field Documentation

◆ myB

template<typename T >
bool DGtal::concepts::CBidirectionalSegmentComputer< T >::myB

◆ myX

template<typename T >
T DGtal::concepts::CBidirectionalSegmentComputer< T >::myX

The documentation for this struct was generated from the following file: