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

Homogeneous n-dimensional hyperplane. More...

#include <HomgHyperplane.h>

Inheritance diagram for blo::HomgHyperplane< T, N >:
blo::HomgArray1DFixed< T, N+1 > blo::Array1DFixed< T, N >

Public Member Functions

 HomgHyperplane ()=default
 Default constructor.
 
 HomgHyperplane (const HomgHyperplane< T, N > &rhs)=default
 Copy constructor.
 
virtual ~HomgHyperplane ()=default
 Destructor.
 
HomgHyperplane< T, N > & operator= (const HomgHyperplane< T, N > &rhs)=default
 Assignment operator.
 
bool atInfinity () const
 Tests if the hyperplane is at infinity.
 
- Public Member Functions inherited from blo::HomgArray1DFixed< T, N+1 >
 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, size_t N>
class blo::HomgHyperplane< T, N >

Homogeneous n-dimensional hyperplane.

Template Parameters
TData type.
NNumber of dimensions.

Constructor & Destructor Documentation

◆ HomgHyperplane() [1/2]

template<typename T , size_t N>
blo::HomgHyperplane< T, N >::HomgHyperplane ( )
default

Default constructor.

◆ HomgHyperplane() [2/2]

template<typename T , size_t N>
blo::HomgHyperplane< T, N >::HomgHyperplane ( const HomgHyperplane< T, N > &  rhs)
default

Copy constructor.

◆ ~HomgHyperplane()

template<typename T , size_t N>
virtual blo::HomgHyperplane< T, N >::~HomgHyperplane ( )
virtualdefault

Destructor.

Member Function Documentation

◆ atInfinity()

template<typename T , size_t N>
bool blo::HomgHyperplane< T, N >::atInfinity ( ) const

Tests if the hyperplane is at infinity.

Returns
true if hyperplane is at infinity, false otherwise.

◆ operator=()

template<typename T , size_t N>
HomgHyperplane< T, N > & blo::HomgHyperplane< T, N >::operator= ( const HomgHyperplane< T, N > &  rhs)
default

Assignment operator.


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