Public Member Functions | |
Vertex3f () | |
Vertex3f (float x, float y, float z) | |
Vertex3f (ref float x, ref float y, ref float z) | |
Vertex3f (Vertex3f v) | |
Vertex3f (float X) | |
void | Init () |
void | Init (float x, float y, float z) |
void | Init (float x) |
void | Init (double x, double y, double z) |
void | Init (Vertex3f v) |
bool | IsEqual (Vertex3f v) |
float | DistanceFrom (Vertex3f v) |
void | Draw () |
float | SquareDot () |
float | DotProduct (Vertex3f v) |
void | ToConsole () |
void | ToConsole (String message) |
Vertex3f | Cross (Vertex3f v2) |
void | Normalize () |
float | Cell (int id) |
void | Cell (int id, float val) |
float | Cell (byte id) |
void | Cell (byte id, float val) |
Static Public Member Functions | |
static Vertex3f | operator+ (Vertex3f v1, Vertex3f v2) |
static Vertex3f | operator- (Vertex3f v1, Vertex3f v2) |
static Vertex3f | operator* (Vertex3f v1, Vertex3f v2) |
static Vertex3f | operator/ (Vertex3f v1, Vertex3f v2) |
static Vertex3f | operator+ (float v, Vertex3f v2) |
static Vertex3f | operator- (float v, Vertex3f v2) |
static Vertex3f | operator* (float v, Vertex3f v2) |
static Vertex3f | operator/ (float v, Vertex3f v2) |
static Vertex3f | operator+ (Vertex3f v2, float v) |
static Vertex3f | operator- (Vertex3f v2, float v) |
static Vertex3f | operator* (Vertex3f v2, float v) |
static Vertex3f | operator/ (Vertex3f v2, float v) |
Public Attributes | |
float | X |
float | Y |
float | Z |
Properties | |
float | ChannelSum [get] |
float | ChannelAverage [get] |
float | ChannelMax [get] |
float | ChannelMin [get] |
float | Length [get] |
Powertek.OpenGl.Vertex3f.Vertex3f | ( | ) |
Powertek.OpenGl.Vertex3f.Vertex3f | ( | float | x, | |
float | y, | |||
float | z | |||
) |
Powertek.OpenGl.Vertex3f.Vertex3f | ( | ref float | x, | |
ref float | y, | |||
ref float | z | |||
) |
Powertek.OpenGl.Vertex3f.Vertex3f | ( | float | X | ) |
void Powertek.OpenGl.Vertex3f.Cell | ( | byte | id, | |
float | val | |||
) |
Cell access to vertex, 0 = x, 1 = y, 2 = z.
id | ||
val |
float Powertek.OpenGl.Vertex3f.Cell | ( | byte | id | ) |
Cell access to vertex, 0 = x, 1 = y, 2 = z.
id |
void Powertek.OpenGl.Vertex3f.Cell | ( | int | id, | |
float | val | |||
) |
Cell access to vertex, 0 = x, 1 = y, 2 = z.
id | ||
val |
float Powertek.OpenGl.Vertex3f.Cell | ( | int | id | ) |
Cell access to vertex, 0 = x, 1 = y, 2 = z.
id |
Cross product of two Vertices.
v2 |
float Powertek.OpenGl.Vertex3f.DistanceFrom | ( | Vertex3f | v | ) |
float Powertek.OpenGl.Vertex3f.DotProduct | ( | Vertex3f | v | ) |
Dot Product.
v |
void Powertek.OpenGl.Vertex3f.Draw | ( | ) |
Draw this Vertex.
void Powertek.OpenGl.Vertex3f.Init | ( | Vertex3f | v | ) |
Init the Vertex.
v |
void Powertek.OpenGl.Vertex3f.Init | ( | double | x, | |
double | y, | |||
double | z | |||
) |
Init the Vertex.
x | ||
y | ||
z |
void Powertek.OpenGl.Vertex3f.Init | ( | float | x | ) |
Init the Vertex.
x |
void Powertek.OpenGl.Vertex3f.Init | ( | float | x, | |
float | y, | |||
float | z | |||
) |
Init the Vertex.
x | ||
y | ||
z |
void Powertek.OpenGl.Vertex3f.Init | ( | ) |
Init the Vertex to 0f.
bool Powertek.OpenGl.Vertex3f.IsEqual | ( | Vertex3f | v | ) |
Check if the Vertex is equal to another.
v |
void Powertek.OpenGl.Vertex3f.Normalize | ( | ) |
Normalize this Vertex.
Operator Overloading.
v2 | ||
v |
Operator Overloading.
v | ||
v2 |
Operator Overloading.
v1 | ||
v2 |
Operator Overloading.
v2 | ||
v |
Operator Overloading.
v | ||
v2 |
Operator Overloading.
v1 | ||
v2 |
Operator Overloading.
v2 | ||
v |
Operator Overloading.
v | ||
v2 |
Operator Overloading.
v1 | ||
v2 |
Operator Overloading.
v2 | ||
v |
Operator Overloading.
v | ||
v2 |
Operator Overloading.
v1 | ||
v2 |
float Powertek.OpenGl.Vertex3f.SquareDot | ( | ) |
Squared dot product.
void Powertek.OpenGl.Vertex3f.ToConsole | ( | String | message | ) |
Print Vertex to console.
message |
void Powertek.OpenGl.Vertex3f.ToConsole | ( | ) |
Print Vertex to console.
X Component.
Y Component.
Z Component.
float Powertek.OpenGl.Vertex3f.ChannelAverage [get] |
Returns the Average of all components.
float Powertek.OpenGl.Vertex3f.ChannelMax [get] |
Returns the Maximum of all components.
float Powertek.OpenGl.Vertex3f.ChannelMin [get] |
Returns the Minimum of all components.
float Powertek.OpenGl.Vertex3f.ChannelSum [get] |
Returns the Sum of all components.
float Powertek.OpenGl.Vertex3f.Length [get] |
Length of this vertex.