#include <math.h>
#include <assert.h>
#include <iostream>
Include-Abhängigkeitsdiagramm für Vector3D.h:
Dieser Graph zeigt, welche Datei direkt oder indirekt diese Datei enthält:
Klassen | |
class | Vector3D |
this class provides functions to handle 3-dimensional vectors * Mehr ... | |
Funktionen | |
double | cotAngle (const Vector3D &a, const Vector3D &b) |
cot of angle between two vectors | |
double | abs (const Vector3D &v) |
the absolute- value of a vector is its length | |
Vector3D | operator * (double r, const Vector3D &v) |
multiplication operator that allows the scalar value to preceed the vector | |
ostream & | operator<< (ostream &s, const Vector3D &v) |
write vector to a stream | |
istream & | operator>> (istream &s, Vector3D &v) |
read a vector from a stream |
|
the absolute- value of a vector is its length
|
|
cot of angle between two vectors
|
|
multiplication operator that allows the scalar value to preceed the vector
|
|
write vector to a stream
|
|
read a vector from a stream
|