Public Member Functions | Static Public Member Functions | Protected Attributes | List of all members
gte::Vector< N, Real > Class Template Reference

#include <GteVector.h>

Public Member Functions

int GetSize () const
 
void MakeUnit (int d)
 
void MakeZero ()
 
bool operator!= (Vector const &vec) const
 
bool operator< (Vector const &vec) const
 
bool operator<= (Vector const &vec) const
 
bool operator== (Vector const &vec) const
 
bool operator> (Vector const &vec) const
 
bool operator>= (Vector const &vec) const
 
Real const & operator[] (int i) const
 
Real & operator[] (int i)
 
 Vector ()
 
 Vector (std::array< Real, N > const &values)
 
 Vector (std::initializer_list< Real > values)
 
 Vector (int d)
 

Static Public Member Functions

static Vector Unit (int d)
 
static Vector Zero ()
 

Protected Attributes

std::array< Real, N > mTuple
 

Detailed Description

template<int N, typename Real>
class gte::Vector< N, Real >

Definition at line 19 of file GteVector.h.

Constructor & Destructor Documentation

template<int N, typename Real >
gte::Vector< N, Real >::Vector ( )

Definition at line 185 of file GteVector.h.

template<int N, typename Real>
gte::Vector< N, Real >::Vector ( std::array< Real, N > const &  values)

Definition at line 191 of file GteVector.h.

template<int N, typename Real>
gte::Vector< N, Real >::Vector ( std::initializer_list< Real >  values)

Definition at line 198 of file GteVector.h.

template<int N, typename Real>
gte::Vector< N, Real >::Vector ( int  d)

Definition at line 219 of file GteVector.h.

Member Function Documentation

template<int N, typename Real >
int gte::Vector< N, Real >::GetSize ( ) const
inline

Definition at line 225 of file GteVector.h.

template<int N, typename Real >
void gte::Vector< N, Real >::MakeUnit ( int  d)

Definition at line 285 of file GteVector.h.

template<int N, typename Real >
void gte::Vector< N, Real >::MakeZero ( )

Definition at line 279 of file GteVector.h.

template<int N, typename Real >
bool gte::Vector< N, Real >::operator!= ( Vector< N, Real > const &  vec) const
inline

Definition at line 249 of file GteVector.h.

template<int N, typename Real >
bool gte::Vector< N, Real >::operator< ( Vector< N, Real > const &  vec) const
inline

Definition at line 255 of file GteVector.h.

template<int N, typename Real >
bool gte::Vector< N, Real >::operator<= ( Vector< N, Real > const &  vec) const
inline

Definition at line 261 of file GteVector.h.

template<int N, typename Real >
bool gte::Vector< N, Real >::operator== ( Vector< N, Real > const &  vec) const
inline

Definition at line 243 of file GteVector.h.

template<int N, typename Real >
bool gte::Vector< N, Real >::operator> ( Vector< N, Real > const &  vec) const
inline

Definition at line 267 of file GteVector.h.

template<int N, typename Real >
bool gte::Vector< N, Real >::operator>= ( Vector< N, Real > const &  vec) const
inline

Definition at line 273 of file GteVector.h.

template<int N, typename Real >
Real const & gte::Vector< N, Real >::operator[] ( int  i) const
inline

Definition at line 231 of file GteVector.h.

template<int N, typename Real >
Real & gte::Vector< N, Real >::operator[] ( int  i)
inline

Definition at line 237 of file GteVector.h.

template<int N, typename Real >
Vector< N, Real > gte::Vector< N, Real >::Unit ( int  d)
static

Definition at line 303 of file GteVector.h.

template<int N, typename Real >
Vector< N, Real > gte::Vector< N, Real >::Zero ( )
static

Definition at line 295 of file GteVector.h.

Member Data Documentation

template<int N, typename Real>
std::array<Real, N> gte::Vector< N, Real >::mTuple
protected

Definition at line 69 of file GteVector.h.


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


geometric_tools_engine
Author(s): Yijiang Huang
autogenerated on Thu Jul 18 2019 04:00:07