31 #if defined(Lemniscate2D_RECURSES)
32 #error Recursive header files inclusion detected in Lemniscate2D.h
33 #else // defined(Lemniscate2D_RECURSES)
35 #define Lemniscate2D_RECURSES
37 #if !defined Lemniscate2D_h
39 #define Lemniscate2D_h
44 #include <DGtal/base/Common.h>
45 #include <DGtal/shapes/parametric/StarShaped2D.h>
60 template <
typename TSpace>
220 template <
typename T>
224 return std::abs(x - y) <= std::numeric_limits<T>::epsilon();
237 template <
typename T>
239 operator<< ( std::ostream & out,
const Lemniscate2D<T> &
object );
246 #include "DGtal/shapes/parametric/Lemniscate2D.ih"
251 #endif // !defined Lemniscate2D_h
253 #undef Lemniscate2D_RECURSES
254 #endif // else defined(Lemniscate2D_RECURSES)
RealPoint x(const double t) const
double parameter(const RealPoint &p) const
Lemniscate2D & operator=(const Lemniscate2D &other)=delete
std::ostream & operator<<(std::ostream &out, const ATu0v1< TKSpace, TLinearAlgebra > &object)
RealPoint getUpperBound() const
DGtal is the top-level namespace which contains all DGtal functions and types.
Space::RealVector RealVector
RealPoint getLowerBound() const
void moveTo(const RealPoint &newCenter)
RealVector xpp(const double t) const
PointVector< dim, double > RealPoint
Aim: Implements basic operations that will be used in Point and Vector classes.
RealVector xp(const double t) const
Aim: Model of the concept StarShaped represents a lemniscate.
bool isAlmostEqual(T x, T y) const
void selfDisplay(std::ostream &out) const
Space::RealPoint RealPoint