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