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