34#if defined(StraightLineFrom2Points_RECURSES)
35#error Recursive header files inclusion detected in StraightLineFrom2Points.h
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"
230#undef StraightLineFrom2Points_RECURSES
Aim: Represents a straight line uniquely defined by two 2D points and that is able to return for any ...
StraightLineFrom2Points()
void init(const Point &aFirstPoint, const Point &aSecondPoint)
~StraightLineFrom2Points()
std::string className() const
StraightLineFrom2Points & operator=(const StraightLineFrom2Points &other)
Distance signedDistance(const Point &aP) const
StraightLineFrom2Points(const StraightLineFrom2Points &other)
TPoint::Coordinate Coordinate
void selfDisplay(std::ostream &out) const
StraightLineFrom2Points(const Point &aFirstPoint, const Point &aSecondPoint)
DGtal is the top-level namespace which contains all DGtal functions and types.
std::ostream & operator<<(std::ostream &out, const ClosedIntegerHalfPlane< TSpace > &object)