DGtal 1.3.0
Loading...
Searching...
No Matches
Public Member Functions | Private Attributes
DGtal::concepts::CBidirectionalSegmentComputer< T > Struct Template Reference

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>

Inheritance diagram for DGtal::concepts::CBidirectionalSegmentComputer< T >:
DGtal::concepts::CForwardSegmentComputer< T > DGtal::concepts::CIncrementalSegmentComputer< T > DGtal::concepts::CSegmentFactory< T > DGtal::concepts::CSegment< T > boost::DefaultConstructible< T > boost::CopyConstructible< T > boost::Assignable< T > boost::EqualityComparable< T > DGtal::concepts::CDynamicBidirectionalSegmentComputer< 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))
 
 BOOST_CONCEPT_USAGE (CSegmentFactory)
 
- Public Member Functions inherited from DGtal::concepts::CSegment< T >
 BOOST_CONCEPT_USAGE (CSegment)
 

Private Attributes

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
 

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

Notation

Definitions

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

Invariants

Models

StandardDSS6Computer, StabbingLineComputer, StabbingCircleComputer

Notes

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

Definition at line 90 of file CBidirectionalSegmentComputer.h.

Member Function Documentation

◆ BOOST_CONCEPT_USAGE()

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

Field Documentation

◆ myB

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

◆ myX

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

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