33 #if defined(NGon2D_RECURSES)
34 #error Recursive header files inclusion detected in NGon2D.h
35 #else // defined(NGon2D_RECURSES)
37 #define NGon2D_RECURSES
46 #include "DGtal/base/Common.h"
47 #include "DGtal/shapes/parametric/StarShaped2D.h"
62 template <
typename TSpace>
86 NGon2D(
const double x0,
const double y0,
const double r ,
87 const unsigned int k,
const double phi );
97 const unsigned int k,
const double phi );
240 template <
typename T>
249 #include "DGtal/shapes/parametric/NGon2D.ih"
254 #endif // !defined NGon2D_h
256 #undef NGon2D_RECURSES
257 #endif // else defined(NGon2D_RECURSES)
RealPoint getLowerBound() const
NGon2D & operator=(const NGon2D &other)=delete
RealPoint x(const double t) const
void selfDisplay(std::ostream &out) const
void moveTo(const RealPoint &newCenter)
std::ostream & operator<<(std::ostream &out, const ATu0v1< TKSpace, TLinearAlgebra > &object)
Aim: Model of the concept StarShaped represents any regular k-gon in the plane.
RealPoint getUpperBound() const
DGtal is the top-level namespace which contains all DGtal functions and types.
RealVector xpp(const double t) const
double parameter(const RealPoint &p) const
Space::RealPoint RealPoint
PointVector< dim, double > RealPoint
Space::RealVector RealVector
Aim: Implements basic operations that will be used in Point and Vector classes.
RealVector xp(const double t) const