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