31 #if defined(ImplicitNorm1Ball_RECURSES) 32 #error Recursive header files inclusion detected in ImplicitNorm1Ball.h 33 #else // defined(ImplicitNorm1Ball_RECURSES) 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)
209 template <
typename T>
211 operator<< ( std::ostream & out, const ImplicitNorm1Ball<T> & object );
218 #include "DGtal/shapes/implicit/ImplicitNorm1Ball.ih" 223 #endif // !defined ImplicitNorm1Ball_h 225 #undef ImplicitNorm1Ball_RECURSES 226 #endif // else defined(ImplicitNorm1Ball_RECURSES)
static Self diagonal(Component val=1)
ImplicitNorm1Ball< TSpace > Self
bool isInside(const RealPoint &aPoint) const
RealPoint myCenter
Ball center.
RealPoint getUpperBound() const
ImplicitNorm1Ball & operator=(const ImplicitNorm1Ball &other)
double operator()(const RealPoint &aPoint) const
double myHalfWidth
Ball HalfWidth.
Aim: Implements basic operations that will be used in Point and Vector classes.
RealPoint getLowerBound() const
Aim: model of CEuclideanOrientedShape and CEuclideanBoundedShape concepts to create a ball for the L_...
Orientation orientation(const RealPoint &aPoint) const
DGtal is the top-level namespace which contains all DGtal functions and types.
Space::RealPoint RealPoint
void selfDisplay(std::ostream &out) const
ImplicitNorm1Ball(const RealPoint &aCenter, const double &aHalfWidth)