Main Page   Modules   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

Vector3.h File Reference

A three-dimensional vector class. More...

#include <SimData/BaseType.h>
#include <SimData/Math.h>
#include <cmath>
#include <vector>
#include <iostream>

Go to the source code of this file.

Compounds

class  Vector3
 A three-dimensional vector class using double-precision. More...


Functions

double dot (const Vector3 &a, const Vector3 &b)
const Vector3 cross (const Vector3 &a, const Vector3 &b)
Vector3 operator * (double lhs, const Vector3 &rhs)

Variables

NAMESPACE_SIMDATA class Matrix3


Detailed Description

A three-dimensional vector class.

This source code was originally based on the Vec3 class of the OpenSceneGraph library, Copyright 1998-2003 Robert Osfield. Source code from OpenSceneGraph is used here under the GNU General Public License Version 2 or later, as permitted under the OpenSceneGraph Public License Version 0.0 (exception 3) and the GNU Lesser Public License Version 2 (clause 3).


Function Documentation

const Vector3 cross const Vector3   a,
const Vector3   b
[inline]
 

double dot const Vector3   a,
const Vector3   b
[inline]
 

Vector3 operator * double    lhs,
const Vector3   rhs
[inline]
 


Variable Documentation

NAMESPACE_SIMDATA class Matrix3
 


SimData version pre-0.4.0. For more information on SimData, visit the SimData Homepage.

Generated on Tue Oct 14 12:06:40 2003, using Doxygen 1.2.18.

[SF.net]