31#if defined(ImplicitNorm1Ball_RECURSES)
32#error Recursive header files inclusion detected in ImplicitNorm1Ball.h
35#define ImplicitNorm1Ball_RECURSES
37#if !defined ImplicitNorm1Ball_h
39#define ImplicitNorm1Ball_h
44#include "DGtal/base/Common.h"
58 template <
typename TSpace>
121 if (this->
operator()(aPoint) > 0.0)
124 if (this->
operator()(aPoint) < 0.0)
227 template <
typename T>
236#include "DGtal/shapes/implicit/ImplicitNorm1Ball.ih"
243#undef ImplicitNorm1Ball_RECURSES
Aim: model of CEuclideanOrientedShape and CEuclideanBoundedShape concepts to create a ball for the L_...
Space::RealPoint RealPoint
void selfDisplay(std::ostream &out) const
ImplicitNorm1Ball(const RealPoint &aCenter, const double &aHalfWidth)
bool isInside(const RealPoint &aPoint) const
ImplicitNorm1Ball< TSpace > Self
RealPoint myCenter
Ball center.
void moveTo(const RealPoint &newCenter)
RealPoint getLowerBound() const
double myHalfWidth
Ball HalfWidth.
ImplicitNorm1Ball & operator=(const ImplicitNorm1Ball &other)
double operator()(const RealPoint &aPoint) const
RealPoint getUpperBound() const
Orientation orientation(const RealPoint &aPoint) const
Aim: Implements basic operations that will be used in Point and Vector classes.
static Self diagonal(Component val=1)
DGtal is the top-level namespace which contains all DGtal functions and types.
std::ostream & operator<<(std::ostream &out, const ClosedIntegerHalfPlane< TSpace > &object)