DGtal 1.4.0
|
Aim: Implement a parametrized knot 4, 3. More...
#include <DGtal/geometry/curves/parametric/Knot_4_3.h>
Public Types | |
typedef TSpace | Space |
typedef TSpace::RealPoint | RealPoint |
typedef TSpace::Point | Point |
Public Member Functions | |
~Knot_4_3 () | |
Knot_4_3 (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_4_3 () | |
Private Member Functions | |
Knot_4_3 (const Knot_4_3 &other) | |
Knot_4_3 & | operator= (const Knot_4_3 &other) |
Private Attributes | |
long double | scale [3] |
Static Private Attributes | |
static constexpr double | PERIOD = M_PI * 2.0 |
Aim: Implement a parametrized knot 4, 3.
Description of class 'Knot_4_3'
TSpace | model of CSpace |
Definition at line 59 of file Knot_4_3.h.
typedef TSpace::Point DGtal::Knot_4_3< TSpace >::Point |
Definition at line 65 of file Knot_4_3.h.
typedef TSpace::RealPoint DGtal::Knot_4_3< TSpace >::RealPoint |
Definition at line 64 of file Knot_4_3.h.
typedef TSpace DGtal::Knot_4_3< TSpace >::Space |
Definition at line 63 of file Knot_4_3.h.
|
inline |
DGtal::Knot_4_3< TSpace >::Knot_4_3 | ( | 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_4_3< TSpace >::isValid | ( | ) | const |
Checks the validity/consistency of the object.
|
private |
Assignment.
other | the object to copy. |
void DGtal::Knot_4_3< 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_4_3< TSpace >::x | ( | long double | t | ) | const |
t | any value. |
RealPoint DGtal::Knot_4_3< TSpace >::xp | ( | long double | t | ) | const |
t | any value. |
|
staticconstexprprivate |
Definition at line 148 of file Knot_4_3.h.
|
private |
Definition at line 118 of file Knot_4_3.h.