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

#include <CDynamicSegmentComputer.h>

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

Public Member Functions

 BOOST_CONCEPT_USAGE (CDynamicSegmentComputer)

Private Attributes

myX
bool myB

Detailed Description

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

Aim: Defines the concept describing a dynamic segment computer, ie. a model of CSegment that can extend and retract itself (in the direction that is relative to the underlying iterator).

Description of concept 'CDynamicSegmentComputer'

Refinement of CForwardSegmentComputer

Associated types : the same as CForwardSegmentComputer

Notation

Definitions

Valid expressions and

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

Invariants

Models

Notes

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

Definition at line 103 of file CDynamicSegmentComputer.h.


Member Function Documentation

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

Field Documentation

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

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