DGtal 1.4.0
|
Aim: Implement a parametrized knot 5, 2. More...
#include <DGtal/geometry/curves/parametric/Knot_5_2.h>
Public Types | |
typedef TSpace | Space |
typedef TSpace::RealPoint | RealPoint |
typedef TSpace::Point | Point |
Public Member Functions | |
~Knot_5_2 () | |
Knot_5_2 (long double scale_1, long double scale_2, long double scale_3) | |
RealPoint | x (long double t) const |
RealPoint | xp (long double t) const |
void | selfDisplay (std::ostream &out) const |
bool | isValid () const |
Static Public Member Functions | |
static double | getPeriod () |
Protected Member Functions | |
Knot_5_2 () | |
Private Member Functions | |
Knot_5_2 (const Knot_5_2 &other) | |
Knot_5_2 & | operator= (const Knot_5_2 &other) |
Private Attributes | |
long double | scale [3] |
Static Private Attributes | |
static constexpr double | PERIOD = M_PI * 2.0 |
Aim: Implement a parametrized knot 5, 2.
Description of class 'Knot_5_2'
TSpace | model of CSpace |
Definition at line 59 of file Knot_5_2.h.
typedef TSpace::Point DGtal::Knot_5_2< TSpace >::Point |
Definition at line 65 of file Knot_5_2.h.
typedef TSpace::RealPoint DGtal::Knot_5_2< TSpace >::RealPoint |
Definition at line 64 of file Knot_5_2.h.
typedef TSpace DGtal::Knot_5_2< TSpace >::Space |
Definition at line 63 of file Knot_5_2.h.
|
inline |
DGtal::Knot_5_2< TSpace >::Knot_5_2 | ( | long double | scale_1, |
long double | scale_2, | ||
long double | scale_3 ) |
Constructor.
scale_1 | x-axis scaling factor |
scale_2 | y-axis scaling factor |
scale_3 | z-axis scaling factor |
|
protected |
Constructor. Forbidden by default (protected to avoid g++ warnings).
|
private |
Copy constructor.
other | the object to clone. Forbidden by default. |
|
static |
bool DGtal::Knot_5_2< TSpace >::isValid | ( | ) | const |
Checks the validity/consistency of the object.
|
private |
Assignment.
other | the object to copy. |
void DGtal::Knot_5_2< TSpace >::selfDisplay | ( | std::ostream & | out | ) | const |
Writes/Displays the object on an output stream.
out | the output stream where the object is written. |
RealPoint DGtal::Knot_5_2< TSpace >::x | ( | long double | t | ) | const |
t | any value. |
RealPoint DGtal::Knot_5_2< TSpace >::xp | ( | long double | t | ) | const |
t | any value. |
|
staticconstexprprivate |
Definition at line 148 of file Knot_5_2.h.
|
private |
Definition at line 118 of file Knot_5_2.h.