tripleFwd.hpp File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

template<typename T >
INLINE_FUNCTION_HDdot (const triple< T > &oprnd1, const triple< T > &oprnd2)
 
template<typename T >
INLINE_FUNCTION_HD triple< T > cross (const triple< T > &v1, const triple< T > &v2)
 
template<typename T >
INLINE_FUNCTION_HDlength (const triple< T > &v1)
 
template<typename T >
INLINE_FUNCTION_HD triple< T > normalize (const triple< T > &v1)
 
template<typename T >
INLINE_FUNCTION_HD triple< T > operator+ (const triple< T > &oprnd1, const triple< T > &oprnd2)
 
template<typename T >
INLINE_FUNCTION_HD triple< T > operator+ (const triple< T > &oprnd1, const T &oprnd2)
 
template<typename T >
INLINE_FUNCTION_HD triple< T > operator+ (const T &oprnd2, const triple< T > &oprnd1)
 
template<typename T >
INLINE_FUNCTION_HD triple< T > operator- (const triple< T > &oprnd1, const triple< T > &oprnd2)
 
template<typename T >
INLINE_FUNCTION_HD triple< T > operator- (const triple< T > &oprnd1, const T &oprnd2)
 
template<typename T >
INLINE_FUNCTION_HD triple< T > operator- (const T &oprnd1, const triple< T > &oprnd2)
 
template<typename T >
INLINE_FUNCTION_HD triple< T > operator* (const triple< T > &oprnd1, const triple< T > &oprnd2)
 
template<typename T >
INLINE_FUNCTION_HD triple< T > operator* (const triple< T > &oprnd1, const T &oprnd2)
 
template<typename T >
INLINE_FUNCTION_HD triple< T > operator* (const T &oprnd1, const triple< T > &oprnd2)
 
template<typename T >
INLINE_FUNCTION_HD triple< T > operator/ (const triple< T > &oprnd1, const triple< T > &oprnd2)
 
template<typename T >
INLINE_FUNCTION_HD triple< T > operator/ (const triple< T > &oprnd1, const T &oprnd2)
 
template<typename T >
INLINE_FUNCTION_HD triple< T > operator/ (const T &oprnd1, const triple< T > &oprnd2)
 
template<typename T >
INLINE_FUNCTION_HD bool operator== (const triple< T > &opr1, const triple< T > &opr2)
 
template<typename T >
INLINE_FUNCTION_HD bool operator> (const triple< T > &opr1, const triple< T > &opr2)
 
template<typename T >
INLINE_FUNCTION_HD bool operator< (const triple< T > &opr1, const triple< T > &opr2)
 
template<typename T >
INLINE_FUNCTION_HD bool operator<= (const triple< T > &opr1, const triple< T > &opr2)
 
template<typename T >
INLINE_FUNCTION_HD bool operator>= (const triple< T > &opr1, const triple< T > &opr2)
 
template<typename T >
INLINE_FUNCTION iOstream & operator<< (iOstream &str, const triple< T > &ov)
 
template<typename T >
INLINE_FUNCTION iIstream & operator>> (iIstream &str, triple< T > &iv)
 
template<typename T >
INLINE_FUNCTION void readIstream (iIstream &str, triple< T > &iv)
 

Function Documentation

◆ dot()

INLINE_FUNCTION_HD T dot ( const triple< T > &  oprnd1,
const triple< T > &  oprnd2 
)

◆ cross()

◆ length()

◆ normalize()

INLINE_FUNCTION_HD triple<T> normalize ( const triple< T > &  v1)

Referenced by line::unitVector().

Here is the caller graph for this function:

◆ operator+() [1/3]

INLINE_FUNCTION_HD triple<T> operator+ ( const triple< T > &  oprnd1,
const triple< T > &  oprnd2 
)

◆ operator+() [2/3]

INLINE_FUNCTION_HD triple<T> operator+ ( const triple< T > &  oprnd1,
const T &  oprnd2 
)

◆ operator+() [3/3]

INLINE_FUNCTION_HD triple<T> operator+ ( const T &  oprnd2,
const triple< T > &  oprnd1 
)

◆ operator-() [1/3]

INLINE_FUNCTION_HD triple<T> operator- ( const triple< T > &  oprnd1,
const triple< T > &  oprnd2 
)

◆ operator-() [2/3]

INLINE_FUNCTION_HD triple<T> operator- ( const triple< T > &  oprnd1,
const T &  oprnd2 
)

◆ operator-() [3/3]

INLINE_FUNCTION_HD triple<T> operator- ( const T &  oprnd1,
const triple< T > &  oprnd2 
)

◆ operator*() [1/3]

INLINE_FUNCTION_HD triple<T> operator* ( const triple< T > &  oprnd1,
const triple< T > &  oprnd2 
)

◆ operator*() [2/3]

INLINE_FUNCTION_HD triple<T> operator* ( const triple< T > &  oprnd1,
const T &  oprnd2 
)

◆ operator*() [3/3]

INLINE_FUNCTION_HD triple<T> operator* ( const T &  oprnd1,
const triple< T > &  oprnd2 
)

◆ operator/() [1/3]

INLINE_FUNCTION_HD triple<T> operator/ ( const triple< T > &  oprnd1,
const triple< T > &  oprnd2 
)

◆ operator/() [2/3]

INLINE_FUNCTION_HD triple<T> operator/ ( const triple< T > &  oprnd1,
const T &  oprnd2 
)

◆ operator/() [3/3]

INLINE_FUNCTION_HD triple<T> operator/ ( const T &  oprnd1,
const triple< T > &  oprnd2 
)

◆ operator==()

INLINE_FUNCTION_HD bool operator== ( const triple< T > &  opr1,
const triple< T > &  opr2 
)

◆ operator>()

INLINE_FUNCTION_HD bool operator> ( const triple< T > &  opr1,
const triple< T > &  opr2 
)

◆ operator<()

INLINE_FUNCTION_HD bool operator< ( const triple< T > &  opr1,
const triple< T > &  opr2 
)

◆ operator<=()

INLINE_FUNCTION_HD bool operator<= ( const triple< T > &  opr1,
const triple< T > &  opr2 
)

◆ operator>=()

INLINE_FUNCTION_HD bool operator>= ( const triple< T > &  opr1,
const triple< T > &  opr2 
)

◆ operator<<()

INLINE_FUNCTION iOstream& operator<< ( iOstream &  str,
const triple< T > &  ov 
)

◆ operator>>()

INLINE_FUNCTION iIstream& operator>> ( iIstream &  str,
triple< T > &  iv 
)

◆ readIstream()

INLINE_FUNCTION void readIstream ( iIstream &  str,
triple< T > &  iv 
)