The blo Library
Loading...
Searching...
No Matches
Public Member Functions | List of all members
blo::PlueckerLine3D< T > Class Template Reference

Pluecker line coordinates. More...

#include <PlueckerLine3D.h>

Inheritance diagram for blo::PlueckerLine3D< T >:
blo::HomgArray1DFixed< T, 6 > blo::Array1DFixed< T, N >

Public Member Functions

 PlueckerLine3D ()=default
 Default constructor.
 
 PlueckerLine3D (const T &l12, const T &l13, const T &l14, const T &l23, const T &l42, const T &l34)
 Constructs Pluecker line and sets coordinates.
 
 PlueckerLine3D (const PlueckerLine3D< T > &rhs)=default
 Copy constructor.
 
virtual ~PlueckerLine3D ()=default
 Destructor.
 
PlueckerLine3D< T > & operator= (const PlueckerLine3D< T > &rhs)=default
 Assignment operator.
 
void coords (T &l12, T &l13, T &l14, T &l23, T &l42, T &l34) const
 Retrieves Pluecker line coordinates.
 
void setCoords (const T &l12, const T &l13, const T &l14, const T &l23, const T &l42, const T &l34)
 Sets Pluecker line coordinates.
 
- Public Member Functions inherited from blo::HomgArray1DFixed< T, 6 >
 HomgArray1DFixed ()=default
 Default constructor.
 
 HomgArray1DFixed (const HomgArray1DFixed< T, N > &rhs)=default
 Copy constructor.
 
virtual ~HomgArray1DFixed ()=default
 Destructor.
 
HomgArray1DFixed< T, N > & operator= (const HomgArray1DFixed< T, N > &rhs)=default
 Assignment operator.
 
- Public Member Functions inherited from blo::Array1DFixed< T, N >
 Array1DFixed ()=default
 Default constructor.
 
 Array1DFixed (const T &val)
 Constructs array of specified value.
 
 Array1DFixed (const std::initializer_list< T > &list)
 Constructs array that is a copy of specified initializer list.
 
 Array1DFixed (const Array1DFixed< T, N > &rhs)=default
 Copy constructor.
 
virtual ~Array1DFixed ()=default
 Destructor.
 
Array1DFixed< T, N > & operator= (const Array1DFixed< T, N > &rhs)=default
 Copy assignment operator.
 
T & operator[] (int n)
 Index array element.
 
const T & operator[] (int n) const
 Index array element.
 
T * ptrData ()
 Retrieves the pointer to the beginning of the array.
 
const T * ptrData () const
 Retrieves the pointer to the beginning of the array.
 
void set (const T &val)
 Sets array elements to a value.
 

Additional Inherited Members

- Static Public Member Functions inherited from blo::Array1DFixed< T, N >
static int size ()
 Number of elements in the array.
 
static int len ()
 Length of the array.
 
static int stride2 ()
 Stride in bytes between the elements in the array.
 

Detailed Description

template<typename T>
class blo::PlueckerLine3D< T >

Pluecker line coordinates.

Template Parameters
TData type.

Constructor & Destructor Documentation

◆ PlueckerLine3D() [1/3]

template<typename T >
blo::PlueckerLine3D< T >::PlueckerLine3D ( )
default

Default constructor.

◆ PlueckerLine3D() [2/3]

template<typename T >
blo::PlueckerLine3D< T >::PlueckerLine3D ( const T &  l12,
const T &  l13,
const T &  l14,
const T &  l23,
const T &  l42,
const T &  l34 
)

Constructs Pluecker line and sets coordinates.

line = (l12, l13, l14, l23, l42, l34)^T

Parameters
l12First Pluecker line coordinate.
l13Second Pluecker line coordinate.
l14Third Pluecker line coordinate.
l23Fourth Pluecker line coordinate.
l42Fifth Pluecker line coordinate.
l34Sixth Pluecker line coordinate.

◆ PlueckerLine3D() [3/3]

template<typename T >
blo::PlueckerLine3D< T >::PlueckerLine3D ( const PlueckerLine3D< T > &  rhs)
default

Copy constructor.

◆ ~PlueckerLine3D()

template<typename T >
virtual blo::PlueckerLine3D< T >::~PlueckerLine3D ( )
virtualdefault

Destructor.

Member Function Documentation

◆ coords()

template<typename T >
void blo::PlueckerLine3D< T >::coords ( T &  l12,
T &  l13,
T &  l14,
T &  l23,
T &  l42,
T &  l34 
) const

Retrieves Pluecker line coordinates.

line = (l12, l13, l14, l23, l42, l34)^T

Parameters
l12First Pluecker line coordinate.
l13Second Pluecker line coordinate.
l14Third Pluecker line coordinate.
l23Fourth Pluecker line coordinate.
l42Fifth Pluecker line coordinate.
l34Sixth Pluecker line coordinate.

◆ operator=()

template<typename T >
PlueckerLine3D< T > & blo::PlueckerLine3D< T >::operator= ( const PlueckerLine3D< T > &  rhs)
default

Assignment operator.

◆ setCoords()

template<typename T >
void blo::PlueckerLine3D< T >::setCoords ( const T &  l12,
const T &  l13,
const T &  l14,
const T &  l23,
const T &  l42,
const T &  l34 
)

Sets Pluecker line coordinates.

line = (l12, l13, l14, l23, l42, l34)^T

Parameters
l12First Pluecker line coordinate.
l13Second Pluecker line coordinate.
l14Third Pluecker line coordinate.
l23Fourth Pluecker line coordinate.
l42Fifth Pluecker line coordinate.
l34Sixth Pluecker line coordinate.

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