NASA - Jet Propulsion Laboratory
    + View the NASA Portal
Search JPL
Jet Propulsion Laboratory Home Earth Solar System Stars & Galaxies Technology
Introduction Background Software Links

3D vectors


Classes

class  vec3

Functions

double vec3::dotprod (const vec3 &v1, const vec3 &v2)
vec3 vec3::crossprod (const vec3 &a, const vec3 &b)
std::ostream & vec3::operator<< (std::ostream &os, const vec3 &v)

Detailed Description


Function Documentation

double dotprod ( const vec3 v1,
const vec3 v2 
) [related, inherited]

Returns the dot product of v1 and v2.

Definition at line 107 of file vec3.h.

vec3 crossprod ( const vec3 a,
const vec3 b 
) [related, inherited]

Returns the cross product of a and b.

Definition at line 112 of file vec3.h.

std::ostream & operator<< ( std::ostream &  os,
const vec3 v 
) [related, inherited]

Writes v to os.

Definition at line 117 of file vec3.h.


Generated on Fri Jun 18 16:12:29 2010 for LevelS C++ support library
Privacy / Copyright
FIRST GOV Contact: NASA Home Page Site Manager:
Webmaster:

CL 03-2650