31 #if defined(Knot_5_2_RECURSES)
32 #error Recursive header files inclusion detected in Knot_5_2.h
33 #else // defined(Knot_5_2_RECURSES)
35 #define Knot_5_2_RECURSES
37 #if !defined Knot_5_2_h
45 #include "DGtal/base/Common.h"
58 template <
typename TSpace>
78 Knot_5_2 (
long double scale_1,
long double scale_2,
long double scale_3 );
118 long double scale[3];
148 static constexpr
double PERIOD = M_PI * 2.0;
159 template <
typename T>
169 #if !defined(BUILD_INLINE)
170 #include "DGtal/geometry/curves/parametric/Knot_5_2.ih"
177 #endif // !defined Knot_5_2_h
179 #undef Knot_5_2_RECURSES
180 #endif // else defined(Knot_5_2_RECURSES)
RealPoint x(long double t) const
TSpace::RealPoint RealPoint
void selfDisplay(std::ostream &out) const
RealPoint xp(long double t) const
std::ostream & operator<<(std::ostream &out, const ATu0v1< TKSpace, TLinearAlgebra > &object)
Aim: Implement a parametrized knot 5, 2.
static double getPeriod()
DGtal is the top-level namespace which contains all DGtal functions and types.
Aim: Implements basic operations that will be used in Point and Vector classes.
static constexpr double PERIOD
Knot_5_2 & operator=(const Knot_5_2 &other)