31 #if defined(Ball2D_RECURSES) 32 #error Recursive header files inclusion detected in Ball2D.h 33 #else // defined(Ball2D_RECURSES) 35 #define Ball2D_RECURSES 44 #include "DGtal/base/Common.h" 45 #include "DGtal/shapes/parametric/StarShaped2D.h" 59 template <
typename TSpace>
81 Ball2D(
const double x0,
const double y0,
const double r );
228 template <
typename T>
230 operator<< ( std::ostream & out, const Ball2D<T> & object );
237 #include "DGtal/shapes/parametric/Ball2D.ih" 242 #endif // !defined Ball2D_h 244 #undef Ball2D_RECURSES 245 #endif // else defined(Ball2D_RECURSES)
RealPoint2D center() const
Space::RealPoint RealPoint2D
RealPoint2D getUpperBound() const
double parameter(const RealPoint2D &p) const
RealPoint2D getLowerBound() const
PointVector< dim, double > RealPoint
Ball2D & operator=(const Ball2D &other)
RealPoint2D x(const double t) const
Aim: Model of the concept StarShaped represents any circle in the plane.
Space::RealVector RealVector2D
RealVector2D xp(const double t) const
void selfDisplay(std::ostream &out) const
DGtal is the top-level namespace which contains all DGtal functions and types.
RealVector2D xpp(const double t) const