#include <Sample.h>
Public Member Functions | |
Sample () | |
Sample (float, float, float, float) | |
Sample | getNormalized () |
void | setSample (float, float, float, float) |
void | setSample (Sample) |
Sample | getMe () |
float | getLength () |
Public Attributes | |
float | length |
float | x |
float | y |
float | p |
float | v |
Sample::Sample | ( | ) |
Konstruktor
Sample::Sample | ( | float | sx, | |
float | sy, | |||
float | sp, | |||
float | sv | |||
) |
Konstruktor
sx | x Wert | |
sy | y Wert | |
sp | Pressure | |
sv | Vorticity |
void Sample::setSample | ( | float | sx, | |
float | sy, | |||
float | sp, | |||
float | sv | |||
) |
setzt das Sample
sx | x Wert | |
sy | y Wert | |
sp | Pressure | |
sv | Vorticity |
float Sample::getLength | ( | ) |
Berechnet die Laenge des x/y Vektors
float Sample::length |
float Sample::x |
float Sample::y |
float Sample::p |
float Sample::v |