Public Member Functions | Private Attributes | List of all members
VHACD::Vector3< T > Class Template Reference

#include <VHACD.h>

Public Member Functions

Vector3 Cross (const Vector3 &rhs) const
 
bool CWiseAllGE (const Vector3< T > &rhs) const
 
bool CWiseAllLE (const Vector3< T > &rhs) const
 
Vector3 CWiseMax (const Vector3 &rhs) const
 
Vector3 CWiseMin (const Vector3 &rhs) const
 
Vector3 CWiseMul (const Vector3 &rhs) const
 
Dot (const Vector3 &rhs) const
 
GetNorm () const
 
GetNormSquared () const
 
T & GetX ()
 
const T & GetX () const
 
T & GetY ()
 
const T & GetY () const
 
T & GetZ ()
 
const T & GetZ () const
 
int LongestAxis () const
 
MaxCoeff () const
 
MaxCoeff (uint32_t &idx) const
 
MinCoeff () const
 
MinCoeff (uint32_t &idx) const
 
Normalize ()
 
Vector3 Normalized ()
 
 operator VHACD::Vertex () const
 
Vector3 operator* (T rhs) const
 
Vector3operator*= (T a)
 
Vector3 operator+ (const Vector3 &rhs) const
 
Vector3operator+= (const Vector3 &rhs)
 
Vector3operator+= (T a)
 
Vector3 operator- () const
 
Vector3 operator- (const Vector3 &rhs) const
 
Vector3operator-= (const Vector3 &rhs)
 
Vector3operator-= (T a)
 
Vector3 operator/ (T rhs) const
 
Vector3operator/= (T a)
 
bool operator< (const Vector3 &rhs) const
 
Vector3operator= (const Vector3 &rhs)
 
bool operator> (const Vector3 &rhs) const
 
T & operator[] (size_t i)
 
const T & operator[] (size_t i) const
 
 Vector3 ()=default
 
 Vector3 (const Vector3 &rhs)
 
template<typename U >
 Vector3 (const Vector3< U > &rhs)
 
 Vector3 (const VHACD::Triangle &)
 
 Vector3 (const VHACD::Vertex &)
 
 Vector3 (T a)
 
 Vector3 (T x, T y, T z)
 
 ~Vector3 ()=default
 

Private Attributes

std::array< T, 3 > m_data { T(0.0) }
 

Detailed Description

template<typename T>
class VHACD::Vector3< T >

Definition at line 169 of file VHACD.h.

Constructor & Destructor Documentation

◆ Vector3() [1/7]

template<typename T >
VHACD::Vector3< T >::Vector3 ( )
default

◆ Vector3() [2/7]

template<typename T >
VHACD::Vector3< T >::Vector3 ( a)
inline

Definition at line 826 of file VHACD.h.

◆ Vector3() [3/7]

template<typename T >
VHACD::Vector3< T >::Vector3 ( x,
y,
z 
)
inline

Definition at line 831 of file VHACD.h.

◆ Vector3() [4/7]

template<typename T >
VHACD::Vector3< T >::Vector3 ( const Vector3< T > &  rhs)
inline

Definition at line 836 of file VHACD.h.

◆ ~Vector3()

template<typename T >
VHACD::Vector3< T >::~Vector3 ( )
default

◆ Vector3() [5/7]

template<typename T >
template<typename U >
VHACD::Vector3< T >::Vector3 ( const Vector3< U > &  rhs)
inline

Definition at line 842 of file VHACD.h.

◆ Vector3() [6/7]

template<typename T >
VHACD::Vector3< T >::Vector3 ( const VHACD::Vertex rhs)
inline

Definition at line 847 of file VHACD.h.

◆ Vector3() [7/7]

template<typename T >
VHACD::Vector3< T >::Vector3 ( const VHACD::Triangle rhs)
inline

Definition at line 853 of file VHACD.h.

Member Function Documentation

◆ Cross()

template<typename T >
Vector3< T > VHACD::Vector3< T >::Cross ( const Vector3< T > &  rhs) const
inline

Definition at line 648 of file VHACD.h.

◆ CWiseAllGE()

template<typename T >
bool VHACD::Vector3< T >::CWiseAllGE ( const Vector3< T > &  rhs) const
inline

Definition at line 771 of file VHACD.h.

◆ CWiseAllLE()

template<typename T >
bool VHACD::Vector3< T >::CWiseAllLE ( const Vector3< T > &  rhs) const
inline

Definition at line 777 of file VHACD.h.

◆ CWiseMax()

template<typename T >
Vector3< T > VHACD::Vector3< T >::CWiseMax ( const Vector3< T > &  rhs) const
inline

Definition at line 789 of file VHACD.h.

◆ CWiseMin()

template<typename T >
Vector3< T > VHACD::Vector3< T >::CWiseMin ( const Vector3< T > &  rhs) const
inline

Definition at line 783 of file VHACD.h.

◆ CWiseMul()

template<typename T >
Vector3< T > VHACD::Vector3< T >::CWiseMul ( const Vector3< T > &  rhs) const
inline

Definition at line 642 of file VHACD.h.

◆ Dot()

template<typename T >
T VHACD::Vector3< T >::Dot ( const Vector3< T > &  rhs) const
inline

Definition at line 656 of file VHACD.h.

◆ GetNorm()

template<typename T >
T VHACD::Vector3< T >::GetNorm
inline

Definition at line 593 of file VHACD.h.

◆ GetNormSquared()

template<typename T >
T VHACD::Vector3< T >::GetNormSquared
inline

Definition at line 599 of file VHACD.h.

◆ GetX() [1/2]

template<typename T >
const T & VHACD::Vector3< T >::GetX
inline

Definition at line 535 of file VHACD.h.

◆ GetX() [2/2]

template<typename T >
const T& VHACD::Vector3< T >::GetX ( ) const

◆ GetY() [1/2]

template<typename T >
const T & VHACD::Vector3< T >::GetY
inline

Definition at line 541 of file VHACD.h.

◆ GetY() [2/2]

template<typename T >
const T& VHACD::Vector3< T >::GetY ( ) const

◆ GetZ() [1/2]

template<typename T >
const T & VHACD::Vector3< T >::GetZ
inline

Definition at line 547 of file VHACD.h.

◆ GetZ() [2/2]

template<typename T >
const T& VHACD::Vector3< T >::GetZ ( ) const

◆ LongestAxis()

template<typename T >
int VHACD::Vector3< T >::LongestAxis
inline

Definition at line 605 of file VHACD.h.

◆ MaxCoeff() [1/2]

template<typename T >
T VHACD::Vector3< T >::MaxCoeff
inline

Definition at line 801 of file VHACD.h.

◆ MaxCoeff() [2/2]

template<typename T >
T VHACD::Vector3< T >::MaxCoeff ( uint32_t &  idx) const
inline

Definition at line 815 of file VHACD.h.

◆ MinCoeff() [1/2]

template<typename T >
T VHACD::Vector3< T >::MinCoeff
inline

Definition at line 795 of file VHACD.h.

◆ MinCoeff() [2/2]

template<typename T >
T VHACD::Vector3< T >::MinCoeff ( uint32_t &  idx) const
inline

Definition at line 807 of file VHACD.h.

◆ Normalize()

template<typename T >
T VHACD::Vector3< T >::Normalize
inline

Definition at line 574 of file VHACD.h.

◆ Normalized()

template<typename T >
Vector3< T > VHACD::Vector3< T >::Normalized
inline

Definition at line 583 of file VHACD.h.

◆ operator VHACD::Vertex()

template<typename T >
VHACD::Vector3< T >::operator VHACD::Vertex
inline

Definition at line 859 of file VHACD.h.

◆ operator*()

template<typename T >
Vector3< T > VHACD::Vector3< T >::operator* ( rhs) const
inline

Definition at line 719 of file VHACD.h.

◆ operator*=()

template<typename T >
Vector3< T > & VHACD::Vector3< T >::operator*= ( a)
inline

Definition at line 710 of file VHACD.h.

◆ operator+()

template<typename T >
Vector3< T > VHACD::Vector3< T >::operator+ ( const Vector3< T > &  rhs) const
inline

Definition at line 662 of file VHACD.h.

◆ operator+=() [1/2]

template<typename T >
Vector3< T > & VHACD::Vector3< T >::operator+= ( const Vector3< T > &  rhs)
inline

Definition at line 624 of file VHACD.h.

◆ operator+=() [2/2]

template<typename T >
Vector3< T > & VHACD::Vector3< T >::operator+= ( a)
inline

Definition at line 692 of file VHACD.h.

◆ operator-() [1/2]

template<typename T >
Vector3< T > VHACD::Vector3< T >::operator-
inline

Definition at line 734 of file VHACD.h.

◆ operator-() [2/2]

template<typename T >
Vector3< T > VHACD::Vector3< T >::operator- ( const Vector3< T > &  rhs) const
inline

Definition at line 668 of file VHACD.h.

◆ operator-=() [1/2]

template<typename T >
Vector3< T > & VHACD::Vector3< T >::operator-= ( const Vector3< T > &  rhs)
inline

Definition at line 633 of file VHACD.h.

◆ operator-=() [2/2]

template<typename T >
Vector3< T > & VHACD::Vector3< T >::operator-= ( a)
inline

Definition at line 683 of file VHACD.h.

◆ operator/()

template<typename T >
Vector3< T > VHACD::Vector3< T >::operator/ ( rhs) const
inline

Definition at line 725 of file VHACD.h.

◆ operator/=()

template<typename T >
Vector3< T > & VHACD::Vector3< T >::operator/= ( a)
inline

Definition at line 701 of file VHACD.h.

◆ operator<()

template<typename T >
bool VHACD::Vector3< T >::operator< ( const Vector3< T > &  rhs) const
inline

Definition at line 743 of file VHACD.h.

◆ operator=()

template<typename T >
Vector3< T > & VHACD::Vector3< T >::operator= ( const Vector3< T > &  rhs)
inline

Definition at line 615 of file VHACD.h.

◆ operator>()

template<typename T >
bool VHACD::Vector3< T >::operator> ( const Vector3< T > &  rhs) const
inline

Definition at line 757 of file VHACD.h.

◆ operator[]() [1/2]

template<typename T >
T & VHACD::Vector3< T >::operator[] ( size_t  i)
inline

Definition at line 523 of file VHACD.h.

◆ operator[]() [2/2]

template<typename T >
const T & VHACD::Vector3< T >::operator[] ( size_t  i) const
inline

Definition at line 529 of file VHACD.h.

Member Data Documentation

◆ m_data

template<typename T >
std::array<T, 3> VHACD::Vector3< T >::m_data { T(0.0) }
private

Definition at line 261 of file VHACD.h.


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


tesseract_collision
Author(s): Levi Armstrong
autogenerated on Sun May 18 2025 03:01:53