32 #if defined(CircleFrom2Points_RECURSES)
33 #error Recursive header files inclusion detected in CircleFrom2Points.h
36 #define CircleFrom2Points_RECURSES
38 #if !defined CircleFrom2Points_h
40 #define CircleFrom2Points_h
46 #include "DGtal/base/Common.h"
47 #include "DGtal/kernel/PointVector.h"
48 #include "DGtal/kernel/NumberTraits.h"
49 #include "DGtal/io/Color.h"
50 #include "DGtal/shapes/fromPoints/CircleFrom3Points.h"
66 template <
typename TPo
int>
223 template <
typename TPo
int>
229 object.selfDisplay( out );
239 #include "DGtal/shapes/fromPoints/CircleFrom2Points.ih"
246 #undef CircleFrom2Points_RECURSES
Aim: Represents a circle that passes through a given point and that is thus uniquely defined by two o...
void getParameters(double &cx, double &cy, double &r) const
CircleFrom2Points & operator=(const CircleFrom2Points &other)
std::string className() const
CircleFrom2Points(const CircleFrom2Points &other)
void init(const Point &aFirstPoint, const Point &aSecondPoint)
TPoint::Coordinate Coordinate
CircleFrom2Points(const Point &aPole, const Point &aFirstPoint, const Point &aSecondPoint)
CircleFrom2Points(const Point &aPole)
void selfDisplay(std::ostream &out) const
Distance signedDistance(const Point &aP) const
const Point & pole() const
DGtal is the top-level namespace which contains all DGtal functions and types.
std::ostream & operator<<(std::ostream &out, const ATu0v1< TKSpace, TLinearAlgebra > &object)