DGtal  1.0.0
Public Member Functions | Private Attributes
DGtal::concepts::CDynamicSegmentComputer< T > Struct Template Reference

Aim: Defines the concept describing a dynamic segment computer,. More...

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

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

Public Member Functions

 BOOST_CONCEPT_USAGE (CDynamicSegmentComputer)
- 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::CDynamicSegmentComputer< T >

Aim: Defines the concept describing a dynamic segment computer,.

Description of concept 'CDynamicSegmentComputer'

ie. a model of CSegment that can extend and retract itself (in the direction that is relative to the underlying iterator).

Refinement of CForwardSegmentComputer

Associated types : the same as CForwardSegmentComputer



Valid expressions and

Name Expression Type requirements Return type Precondition Semantics Post condition Complexity
Retraction x.retractBack() bool returns 'tru' if ++x.begin() != x.end() (and increments the begin iterator), 'false' otherwise




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

Definition at line 88 of file CDynamicSegmentComputer.h.

Member Function Documentation


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

Field Documentation

◆ myB

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

◆ myX

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

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