File failed to load: https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.3/config/TeX-MML-AM_CHTML/MathJax.js
DGtal 2.0.0
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 >:
[legend]

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()

Field Documentation

◆ myB

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

Definition at line 103 of file CBidirectionalSegmentComputer.h.

Referenced by BOOST_CONCEPT_USAGE().

◆ myX

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

Definition at line 102 of file CBidirectionalSegmentComputer.h.

Referenced by BOOST_CONCEPT_USAGE().


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