34 #if defined(StraightLineFrom2Points_RECURSES)
35 #error Recursive header files inclusion detected in StraightLineFrom2Points.h
36 #else // defined(StraightLineFrom2Points_RECURSES)
38 #define StraightLineFrom2Points_RECURSES
40 #if !defined StraightLineFrom2Points_h
42 #define StraightLineFrom2Points_h
48 #include "DGtal/base/Common.h"
49 #include "DGtal/kernel/PointVector.h"
50 #include "DGtal/kernel/CInteger.h"
51 #include "DGtal/io/Color.h"
67 template <
typename TPo
int>
207 template <
typename TPo
int>
213 object.selfDisplay( out );
223 #include "DGtal/shapes/fromPoints/StraightLineFrom2Points.ih"
228 #endif // !defined StraightLineFrom2Points_h
230 #undef StraightLineFrom2Points_RECURSES
231 #endif // else defined(StraightLineFrom2Points_RECURSES)
StraightLineFrom2Points()
std::string className() const
StraightLineFrom2Points(const StraightLineFrom2Points &other)
void init(const Point &aFirstPoint, const Point &aSecondPoint)
TPoint::Coordinate Coordinate
StraightLineFrom2Points & operator=(const StraightLineFrom2Points &other)
DGtal is the top-level namespace which contains all DGtal functions and types.
Aim: Represents a straight line uniquely defined by two 2D points and that is able to return for any ...
StraightLineFrom2Points(const Point &aFirstPoint, const Point &aSecondPoint)
std::ostream & operator<<(std::ostream &out, const ClosedIntegerHalfPlane< TSpace > &object)
void selfDisplay(std::ostream &out) const
Distance signedDistance(const Point &aP) const
~StraightLineFrom2Points()