33 #if defined(Ellipse2D_RECURSES)
34 #error Recursive header files inclusion detected in Ellipse2D.h
37 #define Ellipse2D_RECURSES
39 #if !defined Ellipse2D_h
46 #include "DGtal/base/Common.h"
47 #include "DGtal/shapes/parametric/StarShaped2D.h"
63 template <
typename TSpace>
88 const double a0,
const double a1,
const double theta );
98 const double a0,
const double a1,
const double theta );
236 template <
typename T>
240 return std::abs(x - y) <= std::numeric_limits<T>::epsilon();
252 template <
typename T>
261 #include "DGtal/shapes/parametric/Ellipse2D.ih"
268 #undef Ellipse2D_RECURSES
Aim: Model of the concept StarShaped represents any ellipse in the plane.
RealVector xpp(const double t) const
RealPoint getLowerBound() const
void selfDisplay(std::ostream &out) const
RealPoint getUpperBound() const
Ellipse2D & operator=(const Ellipse2D &other)=delete
Ellipse2D(const double x0, const double y0, const double a0, const double a1, const double theta)
Space::RealVector RealVector
RealPoint x(const double t) const
Ellipse2D(const RealPoint &aPoint, const double a0, const double a1, const double theta)
RealVector xp(const double t) const
void moveTo(const RealPoint &newCenter)
Space::RealPoint RealPoint
bool isAlmostEqual(T x, T y) const
Ellipse2D(const Ellipse2D &other)
double parameter(const RealPoint &p) const
Aim: Implements basic operations that will be used in Point and Vector classes.
DGtal is the top-level namespace which contains all DGtal functions and types.
std::ostream & operator<<(std::ostream &out, const ATu0v1< TKSpace, TLinearAlgebra > &object)
PointVector< 3, double > RealPoint