Blender V2.61 - r43446

BasicVector::Vector3Dim< Scalar > Class Template Reference

#include <VEC3.h>

List of all members.

Public Member Functions

 Vector3Dim ()
 Vector3Dim (const Vector3Dim< Scalar > &v)
 Vector3Dim (const float *)
 Vector3Dim (const double *)
 Vector3Dim (Scalar)
 Vector3Dim (Scalar, Scalar, Scalar)
Scalar * getAddress ()
const Vector3Dim< Scalar > & operator= (const Vector3Dim< Scalar > &v)
const Vector3Dim< Scalar > & operator= (Scalar s)
const Vector3Dim< Scalar > & operator+= (const Vector3Dim< Scalar > &v)
const Vector3Dim< Scalar > & operator+= (Scalar s)
const Vector3Dim< Scalar > & operator-= (const Vector3Dim< Scalar > &v)
const Vector3Dim< Scalar > & operator-= (Scalar s)
const Vector3Dim< Scalar > & operator*= (const Vector3Dim< Scalar > &v)
const Vector3Dim< Scalar > & operator*= (Scalar s)
const Vector3Dim< Scalar > & operator/= (const Vector3Dim< Scalar > &v)
const Vector3Dim< Scalar > & operator/= (Scalar s)
Vector3Dim< Scalar > operator- () const
Vector3Dim< Scalar > operator+ (const Vector3Dim< Scalar > &) const
Vector3Dim< Scalar > operator+ (Scalar) const
Vector3Dim< Scalar > operator- (const Vector3Dim< Scalar > &) const
Vector3Dim< Scalar > operator- (Scalar) const
Vector3Dim< Scalar > operator* (const Vector3Dim< Scalar > &) const
Vector3Dim< Scalar > operator* (Scalar) const
Vector3Dim< Scalar > operator/ (const Vector3Dim< Scalar > &) const
Vector3Dim< Scalar > operator/ (Scalar) const
Vector3Dim< Scalar > getOrthogonalntlVector3Dim () const
const Vector3Dim< Scalar > & projectNormalTo (const Vector3Dim< Scalar > &v)
const Vector3Dim< Scalar > & minimize (const Vector3Dim< Scalar > &)
const Vector3Dim< Scalar > & maximize (const Vector3Dim< Scalar > &)
Scalar & operator[] (unsigned int i)
const Scalar & operator[] (unsigned int i) const

Public Attributes

union {
   struct {
      Scalar   value [3]
   } 
   struct {
      Scalar   x
      Scalar   y
      Scalar   z
   } 
   struct {
      Scalar   X
      Scalar   Y
      Scalar   Z
   } 
}; 

Detailed Description

template<class Scalar>
class BasicVector::Vector3Dim< Scalar >

Definition at line 81 of file VEC3.h.


Constructor & Destructor Documentation

template<class Scalar >
BasicVector::Vector3Dim< Scalar >::Vector3Dim ( void  ) [inline]

Definition at line 189 of file VEC3.h.

template<class Scalar >
BasicVector::Vector3Dim< Scalar >::Vector3Dim ( const Vector3Dim< Scalar > &  v) [inline]

Definition at line 200 of file VEC3.h.

References BasicVector::Vector3Dim< Scalar >::value.

template<class Scalar >
BasicVector::Vector3Dim< Scalar >::Vector3Dim ( const float *  fvalue) [inline]

Definition at line 207 of file VEC3.h.

template<class Scalar >
BasicVector::Vector3Dim< Scalar >::Vector3Dim ( const double *  fvalue) [inline]

Definition at line 214 of file VEC3.h.

template<class Scalar >
BasicVector::Vector3Dim< Scalar >::Vector3Dim ( Scalar  s) [inline]

Definition at line 230 of file VEC3.h.

template<class Scalar >
BasicVector::Vector3Dim< Scalar >::Vector3Dim ( Scalar  s1,
Scalar  s2,
Scalar  s3 
) [inline]

Definition at line 246 of file VEC3.h.


Member Function Documentation

template<class Scalar>
Scalar* BasicVector::Vector3Dim< Scalar >::getAddress ( ) [inline]

Definition at line 96 of file VEC3.h.

References BasicVector::Vector3Dim< Scalar >::value.

template<class Scalar >
Vector3Dim< Scalar > BasicVector::Vector3Dim< Scalar >::getOrthogonalntlVector3Dim ( ) const [inline]
template<class Scalar >
const Vector3Dim< Scalar > & BasicVector::Vector3Dim< Scalar >::maximize ( const Vector3Dim< Scalar > &  pnt) [inline]

Definition at line 698 of file VEC3.h.

References i, and MAX.

template<class Scalar >
const Vector3Dim< Scalar > & BasicVector::Vector3Dim< Scalar >::minimize ( const Vector3Dim< Scalar > &  pnt) [inline]

Definition at line 681 of file VEC3.h.

References i, and MIN.

template<class Scalar >
Vector3Dim< Scalar > BasicVector::Vector3Dim< Scalar >::operator* ( Scalar  s) const [inline]

Definition at line 521 of file VEC3.h.

template<class Scalar >
Vector3Dim< Scalar > BasicVector::Vector3Dim< Scalar >::operator* ( const Vector3Dim< Scalar > &  v) const [inline]

Definition at line 506 of file VEC3.h.

References BasicVector::Vector3Dim< Scalar >::value.

template<class Scalar >
const Vector3Dim< Scalar > & BasicVector::Vector3Dim< Scalar >::operator*= ( Scalar  s) [inline]

Definition at line 374 of file VEC3.h.

template<class Scalar >
const Vector3Dim< Scalar > & BasicVector::Vector3Dim< Scalar >::operator*= ( const Vector3Dim< Scalar > &  v) [inline]

Definition at line 358 of file VEC3.h.

References BasicVector::Vector3Dim< Scalar >::value.

template<class Scalar >
Vector3Dim< Scalar > BasicVector::Vector3Dim< Scalar >::operator+ ( const Vector3Dim< Scalar > &  v) const [inline]

Definition at line 445 of file VEC3.h.

References BasicVector::Vector3Dim< Scalar >::value.

template<class Scalar >
Vector3Dim< Scalar > BasicVector::Vector3Dim< Scalar >::operator+ ( Scalar  s) const [inline]

Definition at line 460 of file VEC3.h.

template<class Scalar >
const Vector3Dim< Scalar > & BasicVector::Vector3Dim< Scalar >::operator+= ( const Vector3Dim< Scalar > &  v) [inline]

Definition at line 294 of file VEC3.h.

References BasicVector::Vector3Dim< Scalar >::value.

template<class Scalar >
const Vector3Dim< Scalar > & BasicVector::Vector3Dim< Scalar >::operator+= ( Scalar  s) [inline]

Definition at line 310 of file VEC3.h.

template<class Scalar >
Vector3Dim< Scalar > BasicVector::Vector3Dim< Scalar >::operator- ( Scalar  s) const [inline]

Definition at line 490 of file VEC3.h.

template<class Scalar >
Vector3Dim< Scalar > BasicVector::Vector3Dim< Scalar >::operator- ( ) const [inline]

Definition at line 426 of file VEC3.h.

template<class Scalar >
Vector3Dim< Scalar > BasicVector::Vector3Dim< Scalar >::operator- ( const Vector3Dim< Scalar > &  v) const [inline]

Definition at line 475 of file VEC3.h.

References BasicVector::Vector3Dim< Scalar >::value.

template<class Scalar >
const Vector3Dim< Scalar > & BasicVector::Vector3Dim< Scalar >::operator-= ( const Vector3Dim< Scalar > &  v) [inline]

Definition at line 326 of file VEC3.h.

References BasicVector::Vector3Dim< Scalar >::value.

template<class Scalar >
const Vector3Dim< Scalar > & BasicVector::Vector3Dim< Scalar >::operator-= ( Scalar  s) [inline]

Definition at line 342 of file VEC3.h.

template<class Scalar >
Vector3Dim< Scalar > BasicVector::Vector3Dim< Scalar >::operator/ ( const Vector3Dim< Scalar > &  v) const [inline]

Definition at line 534 of file VEC3.h.

References BasicVector::Vector3Dim< Scalar >::value.

template<class Scalar >
Vector3Dim< Scalar > BasicVector::Vector3Dim< Scalar >::operator/ ( Scalar  s) const [inline]

Definition at line 550 of file VEC3.h.

template<class Scalar >
const Vector3Dim< Scalar > & BasicVector::Vector3Dim< Scalar >::operator/= ( const Vector3Dim< Scalar > &  v) [inline]

Definition at line 390 of file VEC3.h.

References BasicVector::Vector3Dim< Scalar >::value.

template<class Scalar >
const Vector3Dim< Scalar > & BasicVector::Vector3Dim< Scalar >::operator/= ( Scalar  s) [inline]

Definition at line 406 of file VEC3.h.

template<class Scalar >
const Vector3Dim< Scalar > & BasicVector::Vector3Dim< Scalar >::operator= ( const Vector3Dim< Scalar > &  v) [inline]

Definition at line 262 of file VEC3.h.

References BasicVector::Vector3Dim< Scalar >::value.

template<class Scalar >
const Vector3Dim< Scalar > & BasicVector::Vector3Dim< Scalar >::operator= ( Scalar  s) [inline]

Definition at line 278 of file VEC3.h.

template<class Scalar >
const Scalar & BasicVector::Vector3Dim< Scalar >::operator[] ( unsigned int  i) const [inline]

Definition at line 581 of file VEC3.h.

References i.

template<class Scalar >
Scalar & BasicVector::Vector3Dim< Scalar >::operator[] ( unsigned int  i) [inline]

Definition at line 568 of file VEC3.h.

References i.

template<class Scalar >
const Vector3Dim< Scalar > & BasicVector::Vector3Dim< Scalar >::projectNormalTo ( const Vector3Dim< Scalar > &  v) [inline]

Member Data Documentation

union { ... }
template<class Scalar>
Scalar BasicVector::Vector3Dim< Scalar >::x

Definition at line 161 of file VEC3.h.

template<class Scalar>
Scalar BasicVector::Vector3Dim< Scalar >::X

Definition at line 166 of file VEC3.h.

template<class Scalar>
Scalar BasicVector::Vector3Dim< Scalar >::Y

Definition at line 167 of file VEC3.h.

template<class Scalar>
Scalar BasicVector::Vector3Dim< Scalar >::y

Definition at line 162 of file VEC3.h.

template<class Scalar>
Scalar BasicVector::Vector3Dim< Scalar >::z

Definition at line 163 of file VEC3.h.

template<class Scalar>
Scalar BasicVector::Vector3Dim< Scalar >::Z

Definition at line 168 of file VEC3.h.


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