Public Member Functions | Public Attributes | Friends
math3d::vec3d< T > Struct Template Reference

#include <math3d.h>

List of all members.

Public Member Functions

bool operator!= (const vec3d &o) const
template<typename S >
bool operator!= (const vec3d< S > &o) const
template<typename Scalar >
vec3d< T > & operator*= (const Scalar &s)
vec3d< T > operator+ (const vec3d< T > &p) const
template<typename S >
vec3d< T > & operator+= (const vec3d< S > &p)
vec3d< T > & operator+= (const vec3d< T > &p)
vec3d< T > operator- (const vec3d< T > &p) const
vec3d< T > operator- () const
template<typename S >
vec3d< T > & operator-= (const vec3d< S > &p)
vec3d< T > & operator-= (const vec3d< T > &p)
template<typename Scalar >
vec3d< T > & operator/= (const Scalar &s)
bool operator== (const vec3d &o) const
template<typename S >
bool operator== (const vec3d< S > &o) const
 vec3d ()
 vec3d (T x_, T y_, T z_)
template<typename S >
 vec3d (const vec3d< S > &s)
template<typename S >
 vec3d (const S *s)

Public Attributes

x
y
z

Friends

template<typename Scalar >
vec3d< T > operator* (const vec3d< T > &p, const Scalar &s)
template<typename Scalar >
vec3d< T > operator* (const Scalar &s, const vec3d< T > &p)
template<typename Scalar >
vec3d< T > operator/ (const vec3d< T > &p, const Scalar &s)
std::ostream & operator<< (std::ostream &os, const vec3d< T > &p)
std::istream & operator>> (std::istream &is, vec3d< T > &p)

Detailed Description

template<typename T>
struct math3d::vec3d< T >

Definition at line 67 of file math3d.h.


Constructor & Destructor Documentation

template<typename T>
math3d::vec3d< T >::vec3d ( ) [inline, explicit]

Definition at line 71 of file math3d.h.

template<typename T>
math3d::vec3d< T >::vec3d ( x_,
y_,
z_ 
) [inline]

Definition at line 72 of file math3d.h.

template<typename T>
template<typename S >
math3d::vec3d< T >::vec3d ( const vec3d< S > &  s) [inline]

Definition at line 75 of file math3d.h.

template<typename T>
template<typename S >
math3d::vec3d< T >::vec3d ( const S *  s) [inline]

Definition at line 78 of file math3d.h.


Member Function Documentation

template<typename T>
bool math3d::vec3d< T >::operator!= ( const vec3d< T > &  o) const [inline]

Definition at line 154 of file math3d.h.

template<typename T>
template<typename S >
bool math3d::vec3d< T >::operator!= ( const vec3d< S > &  o) const [inline]

Definition at line 157 of file math3d.h.

template<typename T>
template<typename Scalar >
vec3d<T>& math3d::vec3d< T >::operator*= ( const Scalar &  s) [inline]

Definition at line 140 of file math3d.h.

template<typename T>
vec3d<T> math3d::vec3d< T >::operator+ ( const vec3d< T > &  p) const [inline]

Definition at line 80 of file math3d.h.

template<typename T>
template<typename S >
vec3d<T>& math3d::vec3d< T >::operator+= ( const vec3d< S > &  p) [inline]

Definition at line 96 of file math3d.h.

template<typename T>
vec3d<T>& math3d::vec3d< T >::operator+= ( const vec3d< T > &  p) [inline]

Definition at line 106 of file math3d.h.

template<typename T>
vec3d<T> math3d::vec3d< T >::operator- ( const vec3d< T > &  p) const [inline]

Definition at line 85 of file math3d.h.

template<typename T>
vec3d<T> math3d::vec3d< T >::operator- ( ) const [inline]

Definition at line 90 of file math3d.h.

template<typename T>
template<typename S >
vec3d<T>& math3d::vec3d< T >::operator-= ( const vec3d< S > &  p) [inline]

Definition at line 115 of file math3d.h.

template<typename T>
vec3d<T>& math3d::vec3d< T >::operator-= ( const vec3d< T > &  p) [inline]

Definition at line 123 of file math3d.h.

template<typename T>
template<typename Scalar >
vec3d<T>& math3d::vec3d< T >::operator/= ( const Scalar &  s) [inline]

Definition at line 131 of file math3d.h.

template<typename T>
bool math3d::vec3d< T >::operator== ( const vec3d< T > &  o) const [inline]

Definition at line 147 of file math3d.h.

template<typename T>
template<typename S >
bool math3d::vec3d< T >::operator== ( const vec3d< S > &  o) const [inline]

Definition at line 150 of file math3d.h.


Friends And Related Function Documentation

template<typename T>
template<typename Scalar >
vec3d<T> operator* ( const vec3d< T > &  p,
const Scalar &  s 
) [friend]

Definition at line 162 of file math3d.h.

template<typename T>
template<typename Scalar >
vec3d<T> operator* ( const Scalar &  s,
const vec3d< T > &  p 
) [friend]

Definition at line 167 of file math3d.h.

template<typename T>
template<typename Scalar >
vec3d<T> operator/ ( const vec3d< T > &  p,
const Scalar &  s 
) [friend]

Definition at line 172 of file math3d.h.

template<typename T>
std::ostream& operator<< ( std::ostream &  os,
const vec3d< T > &  p 
) [friend]

Definition at line 176 of file math3d.h.

template<typename T>
std::istream& operator>> ( std::istream &  is,
vec3d< T > &  p 
) [friend]

Definition at line 180 of file math3d.h.


Member Data Documentation

template<typename T>
T math3d::vec3d< T >::x

Definition at line 69 of file math3d.h.

template<typename T>
T math3d::vec3d< T >::y

Definition at line 69 of file math3d.h.

template<typename T>
T math3d::vec3d< T >::z

Definition at line 69 of file math3d.h.


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


trac_ik_lib
Author(s): Patrick Beeson, Barrett Ames
autogenerated on Thu Sep 21 2017 02:53:02