31 #if defined(Knot_5_2_RECURSES)
32 #error Recursive header files inclusion detected in Knot_5_2.h
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"
179 #undef Knot_5_2_RECURSES
Aim: Implement a parametrized knot 5, 2.
Knot_5_2 & operator=(const Knot_5_2 &other)
static constexpr double PERIOD
Knot_5_2(const Knot_5_2 &other)
static double getPeriod()
TSpace::RealPoint RealPoint
void selfDisplay(std::ostream &out) const
RealPoint x(long double t) const
Knot_5_2(long double scale_1, long double scale_2, long double scale_3)
RealPoint xp(long double t) const
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