DGtal 1.3.0
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes
DGtal::Knot_7_4< TSpace > Class Template Reference

Aim: Implement a parametrized knot 7, 4. More...

#include <DGtal/geometry/curves/parametric/Knot_7_4.h>

Public Types

typedef TSpace Space
 
typedef TSpace::RealPoint RealPoint
 
typedef TSpace::Point Point
 

Public Member Functions

 ~Knot_7_4 ()
 
 Knot_7_4 (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_7_4 ()
 

Private Member Functions

 Knot_7_4 (const Knot_7_4 &other)
 
Knot_7_4operator= (const Knot_7_4 &other)
 

Private Attributes

long double scale [3]
 

Detailed Description

template<typename TSpace>
class DGtal::Knot_7_4< TSpace >

Aim: Implement a parametrized knot 7, 4.

Description of class 'Knot_7_4'

Template Parameters
TSpacemodel of CSpace

Definition at line 59 of file Knot_7_4.h.

Member Typedef Documentation

◆ Point

template<typename TSpace >
typedef TSpace::Point DGtal::Knot_7_4< TSpace >::Point

Definition at line 65 of file Knot_7_4.h.

◆ RealPoint

template<typename TSpace >
typedef TSpace::RealPoint DGtal::Knot_7_4< TSpace >::RealPoint

Definition at line 64 of file Knot_7_4.h.

◆ Space

template<typename TSpace >
typedef TSpace DGtal::Knot_7_4< TSpace >::Space

Definition at line 63 of file Knot_7_4.h.

Constructor & Destructor Documentation

◆ ~Knot_7_4()

template<typename TSpace >
DGtal::Knot_7_4< TSpace >::~Knot_7_4 ( )
inline

Destructor.

Definition at line 70 of file Knot_7_4.h.

70{}

◆ Knot_7_4() [1/3]

template<typename TSpace >
DGtal::Knot_7_4< TSpace >::Knot_7_4 ( long double  scale_1,
long double  scale_2,
long double  scale_3 
)

Constructor.

Parameters
scale_1x-axis scaling factor
scale_2y-axis scaling factor
scale_3z-axis scaling factor

◆ Knot_7_4() [2/3]

template<typename TSpace >
DGtal::Knot_7_4< TSpace >::Knot_7_4 ( )
protected

Constructor. Forbidden by default (protected to avoid g++ warnings).

◆ Knot_7_4() [3/3]

template<typename TSpace >
DGtal::Knot_7_4< TSpace >::Knot_7_4 ( const Knot_7_4< TSpace > &  other)
private

Copy constructor.

Parameters
otherthe object to clone. Forbidden by default.

Member Function Documentation

◆ isValid()

template<typename TSpace >
bool DGtal::Knot_7_4< TSpace >::isValid ( ) const

Checks the validity/consistency of the object.

Returns
'true' if the object is valid, 'false' otherwise.

◆ operator=()

template<typename TSpace >
Knot_7_4 & DGtal::Knot_7_4< TSpace >::operator= ( const Knot_7_4< TSpace > &  other)
private

Assignment.

Parameters
otherthe object to copy.
Returns
a reference on 'this'. Forbidden by default.

◆ selfDisplay()

template<typename TSpace >
void DGtal::Knot_7_4< TSpace >::selfDisplay ( std::ostream &  out) const

Writes/Displays the object on an output stream.

Parameters
outthe output stream where the object is written.

◆ x()

template<typename TSpace >
RealPoint DGtal::Knot_7_4< TSpace >::x ( long double  t) const
Parameters
tany value.
Returns
the vector (x(t), y(t), z(t))

◆ xp()

template<typename TSpace >
RealPoint DGtal::Knot_7_4< TSpace >::xp ( long double  t) const
Parameters
tany value.
Returns
the vector (x(t)', y(t)', z(t)')

Field Documentation

◆ scale

template<typename TSpace >
long double DGtal::Knot_7_4< TSpace >::scale[3]
private

Definition at line 116 of file Knot_7_4.h.


The documentation for this class was generated from the following file: