DGtal  0.6.devel
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Public Member Functions | Private Attributes
DGtal::CDynamicBidirectionalSegmentComputer< T > Struct Template Reference

#include <CDynamicBidirectionalSegmentComputer.h>

Inheritance diagram for DGtal::CDynamicBidirectionalSegmentComputer< T >:
Inheritance graph
[legend]
Collaboration diagram for DGtal::CDynamicBidirectionalSegmentComputer< T >:
Collaboration graph
[legend]

Public Member Functions

 BOOST_CONCEPT_USAGE (CDynamicSegmentComputer)
- Public Member Functions inherited from DGtal::CBidirectionalSegmentComputer< T >
 BOOST_CONCEPT_USAGE (CBidirectionalSegmentComputer)

Private Attributes

myX
bool myB

Detailed Description

template<typename T>
struct DGtal::CDynamicBidirectionalSegmentComputer< T >

Aim: Defines the concept describing a dynamic and bidirectional segment computer, ie. a model of CSegment that can extend and retract itself in either direction.

Description of concept 'CDynamicBidirectionalSegmentComputer'

Refinement of CBidirectionalSegmentComputer and CDynamicSegmentComputer

Valid expressions and semantics

Name Expression Type requirements Return type Precondition Semantics Postcondition Complexity
backward retraction x.retractBackward() bool returns 'true' if –x.end() != x.begin() (and decrements the end iterator), 'false' otherwise

Models

ArithmeticalDSS, CombinatorialDSS

Notes

Template Parameters:
Tthe type that should be a model of CDynamicBidirectionalSegmentComputer.

Definition at line 99 of file CDynamicBidirectionalSegmentComputer.h.


Member Function Documentation

template<typename T >
DGtal::CDynamicBidirectionalSegmentComputer< T >::BOOST_CONCEPT_USAGE ( CDynamicSegmentComputer  )
inline

Field Documentation

template<typename T >
bool DGtal::CDynamicBidirectionalSegmentComputer< T >::myB
private
template<typename T >
T DGtal::CDynamicBidirectionalSegmentComputer< T >::myX
private

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