Public Member Functions | Public Attributes
Vector3 Class Reference

#include <Vector3.h>

List of all members.

Public Member Functions

Vector3 Cross (const Vector3 &vec) const
float Dot (const Vector3 &vec) const
bool IsEqual (const Vector3 &vec) const
float Length ()
void Normalize ()
Vector3 operator* (const float k) const
Vector3 operator+ (const Vector3 &vec) const
Vector3 operator- (const Vector3 &vec) const
 Vector3 ()
 Vector3 (float x, float y, float z)
 Vector3 (const Vector3 &vec)
 ~Vector3 ()

Public Attributes

float x
float y
float z

Detailed Description

Definition at line 4 of file Vector3.h.


Constructor & Destructor Documentation

Definition at line 4 of file Vector3.cpp.

Vector3::Vector3 ( float  x,
float  y,
float  z 
)

Definition at line 7 of file Vector3.cpp.

Definition at line 10 of file Vector3.cpp.

Vector3::Vector3 ( const Vector3 vec)

Definition at line 13 of file Vector3.cpp.


Member Function Documentation

Vector3 Vector3::Cross ( const Vector3 vec) const

Definition at line 57 of file Vector3.cpp.

float Vector3::Dot ( const Vector3 vec) const

Definition at line 52 of file Vector3.cpp.

bool Vector3::IsEqual ( const Vector3 vec) const

Definition at line 71 of file Vector3.cpp.

float Vector3::Length ( )

Definition at line 66 of file Vector3.cpp.

Definition at line 44 of file Vector3.cpp.

Vector3 Vector3::operator* ( const float  k) const

Definition at line 35 of file Vector3.cpp.

Vector3 Vector3::operator+ ( const Vector3 vec) const

Definition at line 17 of file Vector3.cpp.

Vector3 Vector3::operator- ( const Vector3 vec) const

Definition at line 26 of file Vector3.cpp.


Member Data Documentation

float Vector3::x

Definition at line 23 of file Vector3.h.

float Vector3::y

Definition at line 24 of file Vector3.h.

float Vector3::z

Definition at line 25 of file Vector3.h.


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


clearpath_tools
Author(s): Sean Anderson
autogenerated on Thu Jan 2 2014 11:06:21