32 #if defined(CircleFrom3Points_RECURSES)
33 #error Recursive header files inclusion detected in CircleFrom3Points.h
36 #define CircleFrom3Points_RECURSES
38 #if !defined CircleFrom3Points_h
40 #define CircleFrom3Points_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"
65 template <
typename TPo
int>
233 template <
typename TPo
int>
239 object.selfDisplay( out );
249 #include "DGtal/shapes/fromPoints/CircleFrom3Points.ih"
256 #undef CircleFrom3Points_RECURSES
Aim: Represents a circle uniquely defined by three 2D points and that is able to return for any given...
CircleFrom3Points(const CircleFrom3Points &other)
void getParameters(double &cx, double &cy, double &rr) const
TPoint::Coordinate Coordinate
Distance signedDistance(const Point &aP) const
void selfDisplay(std::ostream &out) const
CircleFrom3Points(const Point &aFirstPoint, const Point &aSecondPoint, const Point &aThirdPoint)
CircleFrom3Points & operator=(const CircleFrom3Points &other)
BOOST_STATIC_ASSERT((TPoint::dimension==2))
double getCurvature() const
std::string className() const
void init(const Point &aFirstPoint, const Point &aSecondPoint, const Point &aThirdPoint)
DGtal is the top-level namespace which contains all DGtal functions and types.
std::ostream & operator<<(std::ostream &out, const ATu0v1< TKSpace, TLinearAlgebra > &object)