33#if defined(NGon2D_RECURSES)
34#error Recursive header files inclusion detected in NGon2D.h
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"
256#undef NGon2D_RECURSES
Aim: Model of the concept StarShaped represents any regular k-gon in the plane.
Space::RealVector RealVector
RealVector xpp(const double t) const
Space::RealPoint RealPoint
RealPoint getLowerBound() const
RealPoint x(const double t) const
double parameter(const RealPoint &p) const
NGon2D(const RealPoint &aPoint, const double r, const unsigned int k, const double phi)
NGon2D(const NGon2D &other)
NGon2D(const double x0, const double y0, const double r, const unsigned int k, const double phi)
NGon2D & operator=(const NGon2D &other)=delete
RealVector xp(const double t) const
void selfDisplay(std::ostream &out) const
RealPoint getUpperBound() const
void moveTo(const RealPoint &newCenter)
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)