31 #if defined(ImplicitHyperCube_RECURSES) 32 #error Recursive header files inclusion detected in ImplicitHyperCube.h 33 #else // defined(ImplicitHyperCube_RECURSES) 35 #define ImplicitHyperCube_RECURSES 37 #if !defined ImplicitHyperCube_h 39 #define ImplicitHyperCube_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)
210 template <
typename T>
212 operator<< ( std::ostream & out, const ImplicitHyperCube<T> & object );
219 #include "DGtal/shapes/implicit/ImplicitHyperCube.ih" 224 #endif // !defined ImplicitHyperCube_h 226 #undef ImplicitHyperCube_RECURSES 227 #endif // else defined(ImplicitHyperCube_RECURSES)
Space::RealPoint RealPoint
static Self diagonal(Component val=1)
Aim: Implements basic operations that will be used in Point and Vector classes.
ImplicitHyperCube(const RealPoint &aCenter, const double &aHalfWidth)
Orientation orientation(const RealPoint &aPoint) const
bool isInside(const RealPoint &aPoint) const
Aim: model of CEuclideanOrientedShape and CEuclideanBoundedShape concepts to create an hypercube in n...
DGtal is the top-level namespace which contains all DGtal functions and types.
ImplicitHyperCube & operator=(const ImplicitHyperCube &other)
RealPoint myCenter
Ball center.
ImplicitHyperCube< TSpace > Self
RealPoint getUpperBound() const
RealPoint getLowerBound() const
void selfDisplay(std::ostream &out) const
double myHalfWidth
Ball HalfWidth.
double operator()(const RealPoint &aPoint) const