31#if defined(Lemniscate2D_RECURSES)
32#error Recursive header files inclusion detected in Lemniscate2D.h
35#define Lemniscate2D_RECURSES
37#if !defined 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>
246#include "DGtal/shapes/parametric/Lemniscate2D.ih"
253#undef Lemniscate2D_RECURSES
Aim: Model of the concept StarShaped represents a lemniscate.
void moveTo(const RealPoint &newCenter)
Lemniscate2D(const RealPoint &aPoint, const double a)
bool isAlmostEqual(T x, T y) const
Lemniscate2D & operator=(const Lemniscate2D &other)=delete
Lemniscate2D(const Lemniscate2D &other)
RealVector xp(const double t) const
RealPoint getUpperBound() const
Space::RealVector RealVector
void selfDisplay(std::ostream &out) const
RealPoint getLowerBound() const
RealPoint x(const double t) const
double parameter(const RealPoint &p) const
RealVector xpp(const double t) const
Space::RealPoint RealPoint
Lemniscate2D(const double x0, const double y0, const double a)
Aim: Implements basic operations that will be used in Point and Vector classes.
PointVector< dim, double > RealPoint
DGtal is the top-level namespace which contains all DGtal functions and types.
std::ostream & operator<<(std::ostream &out, const ClosedIntegerHalfPlane< TSpace > &object)