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

#include <CBidirectionalSegmentComputer.h>

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

Public Member Functions

 BOOST_CONCEPT_USAGE (CBidirectionalSegmentComputer)

Private Attributes

myX
bool myB

Detailed Description

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

Aim: Defines the concept describing a bidirectional segment computer, ie. a model of CSegment that can extend itself in the two possible directions.

Description of concept 'CBidirectionalSegmentComputer'

Refinement of CForwardSegmentComputer

Associated types : the same as CForwardSegmentComputer

Notation

Definitions

Valid expressions and

Name Expression Type requirements Return type Precondition Semantics Postcondition Complexity
extension test x.isExtendableBackward() bool check wether x can be extended to –x.begin() or not
extension x.extendBackward() bool check wether x can be extended to –x.begin() or not, extend if true

Invariants

Models

ArithmeticalDSS3d, GeometricalDSS, GeometricalDCA

Notes

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

Definition at line 114 of file CBidirectionalSegmentComputer.h.


Member Function Documentation

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

Field Documentation

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

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