Multi-purpose homogeneous 3D double vector struct. More...
Public Member Functions | |
| Point3Dhd (double x, double y, double z) | |
| Constructor. | |
| Point3Dhd (double x, double y, double z, double w) | |
| Constructor. | |
| override bool | Equals (object obj) |
| Indicates whether this instance and the given obj are equal. | |
| bool | Equals (Point3Dhd obj) |
| Indicates whether this instance and the given obj are equal. | |
| override int | GetHashCode () |
| Returns the hash code for this instance. | |
| Point3Dd | ToPoint3Dd () |
| Converts this point to a Point3Dd. | |
| override string | ToString () |
| String conversion. | |
| Point3Dd | CrossProduct (Point3Dhd v2) |
| Calculates the crossproduct of this vector and the given v2 . | |
Static Public Member Functions | |
| static Point3Dhd | operator+ (Point3Dhd lhs, Point3Dhd rhs) |
| Addition operator. | |
| static Point3Dhd | operator- (Point3Dhd lhs, Point3Dhd rhs) |
| Subtraction operator. | |
| static double | operator* (Point3Dhd lhs, Point3Dhd rhs) |
| Multiplication operator. Gets the inner product of the given lhs and rhs . | |
| static Point3Dhd | operator* (double lhs, Point3Dhd rhs) |
| Multiplication operator. | |
| static Point3Dhd | operator* (Point3Dhd lhs, double rhs) |
| Multiplication operator. | |
| static Point3Dhd | operator/ (Point3Dhd lhs, double rhs) |
| Division operator. | |
| static bool | operator== (Point3Dhd lhs, Point3Dhd rhs) |
| Equality comparison operator. | |
| static bool | operator!= (Point3Dhd lhs, Point3Dhd rhs) |
| Inequality comparison operator. | |
Properties | |
| double | X [get, set] |
| X-coordinate. | |
| double | Y [get, set] |
| Y-coordinate. | |
| double | Z [get, set] |
| Z-coordinate. | |
| double | W [get, set] |
| W-component. | |
| double | this[int row] [get, set] |
| Index access. | |
Multi-purpose homogeneous 3D double vector struct.
| Point3Dhd | ( | double | x, |
| double | y, | ||
| double | z ) |
Constructor.
| x | X-coordinate. |
| y | Y-Coordinate. |
| z | Z-coordinate |
| Point3Dhd | ( | double | x, |
| double | y, | ||
| double | z, | ||
| double | 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 | ( | Point3Dhd | 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 |