31 #if defined(Knot_3_2_RECURSES)
32 #error Recursive header files inclusion detected in Knot_3_2.h
33 #else // defined(Knot_3_2_RECURSES)
35 #define Knot_3_2_RECURSES
37 #if !defined Knot_3_2_h
45 #include "DGtal/base/Common.h"
58 template <
typename TSpace>
78 Knot_3_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_3_2.ih"
177 #endif // !defined Knot_3_2_h
179 #undef Knot_3_2_RECURSES
180 #endif // else defined(Knot_3_2_RECURSES)
void selfDisplay(std::ostream &out) const
RealPoint x(long double t) const
Knot_3_2(const Knot_3_2 &other)
TSpace::RealPoint RealPoint
RealPoint xp(long double t) const
Knot_3_2(long double scale_1, long double scale_2, long double scale_3)
Aim: Implement a parametrized knot 3, 2.
static double getPeriod()
static constexpr double PERIOD
DGtal is the top-level namespace which contains all DGtal functions and types.
std::ostream & operator<<(std::ostream &out, const ClosedIntegerHalfPlane< TSpace > &object)
Knot_3_2 & operator=(const Knot_3_2 &other)