33 #if defined(StandardDSLQ0_RECURSES)
34 #error Recursive header files inclusion detected in StandardDSLQ0.h
35 #else // defined(StandardDSLQ0_RECURSES)
37 #define StandardDSLQ0_RECURSES
39 #if !defined StandardDSLQ0_h
41 #define StandardDSLQ0_h
46 #include "DGtal/base/Common.h"
47 #include "DGtal/base/ConstAlias.h"
48 #include "DGtal/arithmetic/IntegerComputer.h"
49 #include "DGtal/arithmetic/Pattern.h"
78 template <
typename TFraction>
85 typedef typename Fraction::Integer
Integer;
133 if (
this != &other )
404 template <
typename TFraction>
413 #include "DGtal/arithmetic/StandardDSLQ0.ih"
418 #endif // !defined StandardDSLQ0_h
420 #undef StandardDSLQ0_RECURSES
421 #endif // else defined(StandardDSLQ0_RECURSES)
std::ptrdiff_t difference_type
StandardDSLQ0(IntegerParamType a1, IntegerParamType b1, IntegerParamType mu1)
IC ic
Used in some computations.
ConstIterator(const Self &other)
bool before(const Point &p1, const Point &p2) const
Aim: This class encapsulates its parameter class so that to indicate to the user that the object/poin...
ConstIterator begin(Point p) const
bool beforeOrEqual(const Point &p1, const Point &p2) const
bool operator()(const Point &p) const
Integer r(const Point &p) const
Self & operator=(const Self &other)
reference operator*() const
Aim: Represents a digital straight line with slope in the first quadrant (Q0: x >= 0,...
const Pattern< Fraction > & pattern() const
Point uppermostY(IntegerParamType x) const
void selfDisplay(std::ostream &out) const
StandardDSLQ0< TFraction > Self
Self DSSWithinTwoPatterns(Point U1, Point U2, const Point &A, const Point &B) const
Fraction::UnsignedInteger UnsignedInteger
StandardDSLQ0(Fraction aSlope, IntegerParamType aMu)
ConstIterator(ConstAlias< StandardDSLQ0< TFraction > > myDSL, const Point &p)
IntegerComputer< Integer > IC
Point lowestX(IntegerParamType y) const
DGtal is the top-level namespace which contains all DGtal functions and types.
static Fraction deepest(Fraction f1, Fraction f2)
SpaceND< 2, Integer >::Vector Vector2I
ConstIterator end(Point p) const
Pattern< Fraction > myPattern
the characteristic pattern of this DSL.
Fraction::Quotient Quotient
Self reversedSmartDSS(Point U1, Point U2, const Point &A, const Point &B) const
pointer operator->() const
std::ostream & operator<<(std::ostream &out, const ClosedIntegerHalfPlane< TSpace > &object)
bool operator==(const Self &other) const
Point lowestY(IntegerParamType x) const
bool operator!=(const Self &other) const
Point uppermostX(IntegerParamType y) const
const StandardDSLQ0< TFraction > * myPtrDSL
std::forward_iterator_tag iterator_category
Integer myMu
the shift to origin.
IC::IntegerParamType IntegerParamType
NumberTraits< Integer >::ParamType IntegerParamType
SpaceND< 2, Integer >::Point Point2I
static Fraction deepest(Fraction f1, Fraction f2, Fraction f3)
Fraction::Integer Integer
Self reversedSmartDSS(const Point &A, const Point &B) const
StandardDSLQ0 & operator=(const StandardDSLQ0 &other)
Self smartDSS(const Point &A, const Point &B) const
const Integer & mu() const
StandardDSLQ0(const StandardDSLQ0 &other)