Wiselib
Public Types | Public Member Functions | Static Public Member Functions
wiselib::Vec< Arithmatic_P > Class Template Reference

#include <vec.h>

List of all members.

Public Types

typedef Arithmatic_P Arithmatic
typedef Vec< Arithmaticself_type

Public Member Functions

 Vec (const self_type &p)
 Vec (Arithmatic x=0.0, Arithmatic y=0.0, Arithmatic z=0.0)
Arithmatic x (void) const
Arithmatic y (void) const
Arithmatic z (void) const
self_type operator- (const self_type &p) const
self_type operator+ (const self_type &p) const
self_typeoperator-= (const self_type &p)
self_typeoperator+= (const self_type &p)
self_type operator* (Arithmatic f) const
self_type operator/ (Arithmatic f) const
self_typeoperator*= (Arithmatic f)
self_typeoperator/= (Arithmatic f)
bool operator== (const self_type &p) const
bool operator!= (const self_type &p) const
self_typeoperator= (const self_type &p)
Arithmatic operator* (const self_type &p) const
Arithmatic euclidean_norm (void) const

Static Public Member Functions

static Arithmatic euclidean_distance (const self_type &p1, const self_type &p2)
static self_type cross_product (const self_type &p1, const self_type &p2)

template<typename Arithmatic_P = double>
class wiselib::Vec< Arithmatic_P >


Member Typedef Documentation

template<typename Arithmatic_P = double>
typedef Arithmatic_P wiselib::Vec< Arithmatic_P >::Arithmatic
template<typename Arithmatic_P = double>
typedef Vec<Arithmatic> wiselib::Vec< Arithmatic_P >::self_type

Constructor & Destructor Documentation

template<typename Arithmatic_P = double>
wiselib::Vec< Arithmatic_P >::Vec ( const self_type p) [inline]
template<typename Arithmatic_P = double>
wiselib::Vec< Arithmatic_P >::Vec ( Arithmatic  x = 0.0,
Arithmatic  y = 0.0,
Arithmatic  z = 0.0 
) [inline]

Member Function Documentation

template<typename Arithmatic_P = double>
static self_type wiselib::Vec< Arithmatic_P >::cross_product ( const self_type p1,
const self_type p2 
) [inline, static]
template<typename Arithmatic_P = double>
static Arithmatic wiselib::Vec< Arithmatic_P >::euclidean_distance ( const self_type p1,
const self_type p2 
) [inline, static]
template<typename Arithmatic_P = double>
Arithmatic wiselib::Vec< Arithmatic_P >::euclidean_norm ( void  ) const [inline]
template<typename Arithmatic_P = double>
bool wiselib::Vec< Arithmatic_P >::operator!= ( const self_type p) const [inline]
template<typename Arithmatic_P = double>
self_type wiselib::Vec< Arithmatic_P >::operator* ( Arithmatic  f) const [inline]
template<typename Arithmatic_P = double>
Arithmatic wiselib::Vec< Arithmatic_P >::operator* ( const self_type p) const [inline]
template<typename Arithmatic_P = double>
self_type& wiselib::Vec< Arithmatic_P >::operator*= ( Arithmatic  f) [inline]
template<typename Arithmatic_P = double>
self_type wiselib::Vec< Arithmatic_P >::operator+ ( const self_type p) const [inline]
template<typename Arithmatic_P = double>
self_type& wiselib::Vec< Arithmatic_P >::operator+= ( const self_type p) [inline]
template<typename Arithmatic_P = double>
self_type wiselib::Vec< Arithmatic_P >::operator- ( const self_type p) const [inline]
template<typename Arithmatic_P = double>
self_type& wiselib::Vec< Arithmatic_P >::operator-= ( const self_type p) [inline]
template<typename Arithmatic_P = double>
self_type wiselib::Vec< Arithmatic_P >::operator/ ( Arithmatic  f) const [inline]
template<typename Arithmatic_P = double>
self_type& wiselib::Vec< Arithmatic_P >::operator/= ( Arithmatic  f) [inline]
template<typename Arithmatic_P = double>
self_type& wiselib::Vec< Arithmatic_P >::operator= ( const self_type p) [inline]
template<typename Arithmatic_P = double>
bool wiselib::Vec< Arithmatic_P >::operator== ( const self_type p) const [inline]
template<typename Arithmatic_P = double>
Arithmatic wiselib::Vec< Arithmatic_P >::x ( void  ) const [inline]
template<typename Arithmatic_P = double>
Arithmatic wiselib::Vec< Arithmatic_P >::y ( void  ) const [inline]
template<typename Arithmatic_P = double>
Arithmatic wiselib::Vec< Arithmatic_P >::z ( void  ) const [inline]

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines