Public Member Functions | Public Attributes | List of all members
Vector4< T > Struct Template Reference
Inheritance diagram for Vector4< T >:
Inheritance graph
[legend]

Public Member Functions

 Vector4 (const Vector4 &v)
 
 Vector4 (T nx, T ny, T nz=0, T nw=1)
 
bool operator== (const Vector4 &s1) const
 operators below do not take weights into account.
 
Vector4operator+= (const Vector4< T > &s1)
 
Vector4operator-= (const Vector4 &s1)
 
Vector4operator*= (T k)
 
distance2 (const Vector4 &s1) const
 square of distance between this and a point
 
distance2 (const Vector4 &s1, const Vector4 &s2) const
 square of distance between this and a line from s1 to s2
 
void normalize ()
 
Vector4vectorProduct (const Vector4 &s1)
 
innerProduct (const Vector4 &s1) const
 

Public Attributes

x
 
y
 
z
 
w
 

Detailed Description

template<typename T>
struct Vector4< T >

Definition at line 34 of file graph.h.


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

Generated for KAME4 by  doxygen 1.8.3