|
The blo Library
|
Homogeneous n-dimensional point. More...
#include <HomgPoint.h>
Public Member Functions | |
| HomgPoint ()=default | |
| Default constructor. | |
| HomgPoint (const HomgPoint< T, N > &rhs)=default | |
| Copy constructor. | |
| virtual | ~HomgPoint ()=default |
| Destructor. | |
| HomgPoint< T, N > & | operator= (const HomgPoint< T, N > &rhs)=default |
| Assignment operator. | |
| bool | atInfinity () const |
| Tests if the point 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. | |
Homogeneous n-dimensional point.
| T | Data type. |
| N | Number of dimensions. |
|
default |
Default constructor.
|
default |
Copy constructor.
|
virtualdefault |
Destructor.
| bool blo::HomgPoint< T, N >::atInfinity | ( | ) | const |
Tests if the point is at infinity.
|
default |
Assignment operator.