31#if defined(Ball2D_RECURSES)
32#error Recursive header files inclusion detected in Ball2D.h
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 );
219 template <
typename T>
228#include "DGtal/shapes/parametric/Ball2D.ih"
235#undef Ball2D_RECURSES
Aim: Model of the concept StarShaped represents any circle in the plane.
Ball2D(const RealPoint &aPoint, const double r)
Ball2D & operator=(const Ball2D &other)=delete
Ball2D(const double x0, const double y0, const double r)
void selfDisplay(std::ostream &out) const
RealPoint x(const double t) const
Space::RealPoint RealPoint
RealVector xp(const double t) const
RealPoint getUpperBound() const
double parameter(const RealPoint &p) const
RealPoint getLowerBound() const
RealVector xpp(const double t) const
Space::RealVector RealVector
void moveTo(const RealPoint &newCenter)
Ball2D(const Ball2D &other)
Aim: Implements basic operations that will be used in Point and Vector classes.
PointVector< dim, double > RealPoint
DGtal is the top-level namespace which contains all DGtal functions and types.
std::ostream & operator<<(std::ostream &out, const ClosedIntegerHalfPlane< TSpace > &object)