template<typename T>
struct DGtal::CSegmentFactory< T >
Aim: Defines the concept describing a segment ie. a valid and not empty subrange, which can construct instances of its own type or of derived type.
Description of concept 'CSegmentFactory'
Associated types :
- Self, its own type
- Reverse, same as Self but using std::reverse_iterator<Self::ConstIterator> instead of Self::ConstIterator as the underlying iterator
Notation
Definitions
Valid expressions and semantics
Name | Expression | Type requirements | Return type | Precondition | Semantics | Postcondition | Complexity |
getSelf method | x.getSelf() | | X::Self | | returns an instance of Self, which is constructed from the same input parameters used to construct x (if any) | | depends on the internal structures defined in x |
conversion | x.getReverse() | | X::Reverse | | returns an instance of Reverse, which is constructed from the same input parameters used to construct x (if any) | | depends on the internal structures defined in x
|
Invariants
Models
Notes
- Template Parameters:
-
Definition at line 117 of file CSegmentFactory.h.