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) void selfDisplay(std::ostream &out) const
void getParameters(double &cx, double &cy, double &rr) const
double getCurvature() const
Distance signedDistance(const Point &aP) const
Aim: Represents a circle uniquely defined by three 2D points and that is able to return for any given...
CircleFrom3Points & operator=(const CircleFrom3Points &other)
BOOST_STATIC_ASSERT((TPoint::dimension==2))
std::ostream & operator<<(std::ostream &out, const ClosedIntegerHalfPlane< TSpace > &object)
std::string className() const
DGtal is the top-level namespace which contains all DGtal functions and types.
TPoint::Coordinate Coordinate
void init(const Point &aFirstPoint, const Point &aSecondPoint, const Point &aThirdPoint)