Multi-purpose homogeneous 3D float vector struct. More...
Inherits IEquatable< Point3Dhf >.
Public Member Functions | |
| Point3Dhf (float x, float y, float z) | |
| Constructor. More... | |
| Point3Dhf (float x, float y, float z, float w) | |
| Constructor. More... | |
| override bool | Equals (object obj) |
| Indicates whether this instance and the given obj are equal. More... | |
| bool | Equals (Point3Dhf obj) |
| Indicates whether this instance and the given obj are equal. More... | |
| override int | GetHashCode () |
| Returns the hash code for this instance. More... | |
| Point3Df | ToPoint3Df () |
| Converts this point to a Point3Df. More... | |
| override string | ToString () |
| String conversion. More... | |
| Point3Df | CrossProduct (Point3Dhf v2) |
| Calculates the crossproduct of this vector and the given v2 . More... | |
Static Public Member Functions | |
| static Point3Dhf | operator+ (Point3Dhf lhs, Point3Dhf rhs) |
| Addition operator. More... | |
| static Point3Dhf | operator- (Point3Dhf lhs, Point3Dhf rhs) |
| Subtraction operator. More... | |
| static float | operator* (Point3Dhf lhs, Point3Dhf rhs) |
| Multiplication operator. Gets the inner product of the given lhs and rhs . More... | |
| static Point3Dhf | operator* (float lhs, Point3Dhf rhs) |
| Multiplication operator. More... | |
| static Point3Dhf | operator* (Point3Dhf lhs, float rhs) |
| Multiplication operator. More... | |
| static Point3Dhf | operator/ (Point3Dhf lhs, float rhs) |
| Division operator. More... | |
| static bool | operator== (Point3Dhf lhs, Point3Dhf rhs) |
| Equality comparison operator. More... | |
| static bool | operator!= (Point3Dhf lhs, Point3Dhf rhs) |
| Inequality comparison operator. More... | |
Properties | |
| float | X [get, set] |
| X-coordinate. | |
| float | Y [get, set] |
| Y-coordinate. | |
| float | Z [get, set] |
| Z-coordinate. | |
| float | W [get, set] |
| W-component. | |
| float | this[int row] [get, set] |
| Index access. More... | |
Multi-purpose homogeneous 3D float vector struct.
| Point3Dhf | ( | float | x, |
| float | y, | ||
| float | z | ||
| ) |
Constructor.
| x | X-coordinate. |
| y | Y-Coordinate. |
| z | Z-coordinate |
| Point3Dhf | ( | float | x, |
| float | y, | ||
| float | z, | ||
| float | w | ||
| ) |
Constructor.
| x | X-coordinate. |
| y | Y-Coordinate. |
| z | Z-coordinate |
| w | W-component. |
Calculates the crossproduct of this vector and the given v2 .
| v2 | Vector to build crossproduct with. |
| override bool Equals | ( | object | obj | ) |
Indicates whether this instance and the given obj are equal.
| obj | Object to compare to. |
| bool Equals | ( | Point3Dhf | obj | ) |
Indicates whether this instance and the given obj are equal.
| obj | Object to compare to. |
| override int GetHashCode | ( | ) |
Returns the hash code for this instance.
Inequality comparison operator.
| lhs | Left hand side operand. |
| rhs | Right hand side operand. |
Multiplication operator.
| lhs | Left hand side operand. |
| rhs | Right hand side operand. |
Multiplication operator.
| lhs | Left hand side operand. |
| rhs | Right hand side operand. |
Multiplication operator. Gets the inner product of the given lhs and rhs .
| lhs | Left hand side operand. |
| rhs | Right hand side operand. |
Addition operator.
| lhs | Left hand side operand. |
| rhs | Right hand side operand. |
Subtraction operator.
| lhs | Left hand side operand. |
| rhs | Right hand side operand. |
Division operator.
| lhs | Left hand side operand. |
| rhs | Right hand side operand. |
Equality comparison operator.
| lhs | Left hand side operand. |
| rhs | Right hand side operand. |
| override string ToString | ( | ) |
String conversion.
|
getset |