31#if defined(ArithmeticalDSSFactory_RECURSES)
32#error Recursive header files inclusion detected in ArithmeticalDSSFactory.h
35#define ArithmeticalDSSFactory_RECURSES
37#if !defined ArithmeticalDSSFactory_h
39#define ArithmeticalDSSFactory_h
44#include "DGtal/base/Common.h"
45#include "DGtal/geometry/curves/ArithmeticalDSL.h"
52 template <
typename TCoordinate,
54 unsigned short adjacency>
55 class ArithmeticalDSS;
70 template <
typename TCoordinate,
71 typename TInteger = TCoordinate,
72 unsigned short adjacency = 8>
84 typedef std::pair<Vector,Vector>
Steps;
211#include "DGtal/geometry/curves/ArithmeticalDSSFactory.ih"
218#undef ArithmeticalDSSFactory_RECURSES
Aim: This class represents a naive (resp. standard) digital straight line (DSL), ie....
Aim: Set of static methods that create digital straight segments (DSS) from some input parameters,...
static DSS createDSS(const Coordinate &aA, const Coordinate &aB, const Point &aF, const Point &aL, const Point &aU)
Method that creates a DSS from a direction vector, a first and last point and one upper leaning point...
static DSS createSubsegment(const DSL &aDSL, const Point &aF, const Point &aL)
static DSS createReversedPattern(const Point &aF, const Point &aL)
Method that creates a DSS that is a reversed pattern or a repetition of a reversed pattern from two i...
static DSS createPattern(const Point &aF, const Point &aL)
Method that creates a DSS that is a pattern or a repetition of a pattern from two input digital point...
ArithmeticalDSS< TCoordinate, TInteger, adjacency > DSS
ArithmeticalDSL< TCoordinate, TInteger, adjacency > DSL
DGtal::PointVector< 2, Coordinate > Point
static Vector bezoutVector(const Coordinate &aA, const Coordinate &aB, const Coordinate &aR)
static DSS createLeftSubsegment(const DSS &aDSS, const Point &aL)
std::pair< Vector, Vector > Steps
static DSS createSubsegment(const DSS &aDSS, const Point &aF, const Point &aL)
Aim: This class represents a naive (resp. standard) digital straight segment (DSS),...
Aim: Implements basic operations that will be used in Point and Vector classes.
DGtal is the top-level namespace which contains all DGtal functions and types.