31 #if defined(ImplicitHyperCube_RECURSES)
32 #error Recursive header files inclusion detected in ImplicitHyperCube.h
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)
227 template <
typename T>
236 #include "DGtal/shapes/implicit/ImplicitHyperCube.ih"
243 #undef ImplicitHyperCube_RECURSES
Aim: model of CEuclideanOrientedShape and CEuclideanBoundedShape concepts to create an hypercube in n...
void selfDisplay(std::ostream &out) const
Orientation orientation(const RealPoint &aPoint) const
ImplicitHyperCube< TSpace > Self
ImplicitHyperCube(const RealPoint &aCenter, const double &aHalfWidth)
RealPoint getLowerBound() const
void moveTo(const RealPoint &newCenter)
double operator()(const RealPoint &aPoint) const
bool isInside(const RealPoint &aPoint) const
ImplicitHyperCube & operator=(const ImplicitHyperCube &other)
Space::RealPoint RealPoint
RealPoint myCenter
Ball center.
RealPoint getUpperBound() const
double myHalfWidth
Ball HalfWidth.
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 ATu0v1< TKSpace, TLinearAlgebra > &object)