Multi-purpose 3D double vector struct. More...
Inherits IEquatable< Point3Dd >.
Public Member Functions | |
Point3Dd (double x, double y, double z) | |
Constructor. More... | |
Point3Df | ToPoint3Df () |
Converts this point to a Point3Df. More... | |
override bool | Equals (object obj) |
Indicates whether this instance and the given obj are equal. More... | |
bool | Equals (Point3Dd obj) |
Indicates whether this instance and the given obj are equal. More... | |
override int | GetHashCode () |
Returns the hash code for this instance. More... | |
override string | ToString () |
String conversion. More... | |
Point3Dd | CrossProduct (Point3Dd v2) |
Calculates the crossproduct of this vector and the given v2 . More... | |
Static Public Member Functions | |
static Point3Dd | operator+ (Point3Dd lhs, Point3Dd rhs) |
Addition operator. More... | |
static Point3Dd | operator- (Point3Dd lhs, Point3Dd rhs) |
Subtraction operator. More... | |
static double | operator* (Point3Dd lhs, Point3Dd rhs) |
Multiplication operator. Gets the inner product of the given lhs and rhs . More... | |
static Point3Dd | operator* (double lhs, Point3Dd rhs) |
Multiplication operator. More... | |
static Point3Dd | operator* (Point3Dd lhs, double rhs) |
Multiplication operator. More... | |
static Point3Dd | operator/ (Point3Dd lhs, double rhs) |
Division operator. More... | |
static Point3Dd | operator* (Matrix3D lhs, Point3Dd rhs) |
Multiply a Matrix with a PointD rhs. More... | |
static Point3Dd | operator* (AffineMatrix3D m, Point3Dd p) |
Transform a point using an affine matrix (= coordinate system). More... | |
static bool | operator== (Point3Dd lhs, Point3Dd rhs) |
Equality comparison operator. More... | |
static bool | operator!= (Point3Dd lhs, Point3Dd rhs) |
Inequality comparison operator. More... | |
Properties | |
double | X [get, set] |
X-coordinate. | |
double | Y [get, set] |
Y-coordinate. | |
double | Z [get, set] |
Z-coordinate. | |
double | Length [get] |
Gets the length of this point. | |
double | this[int row] [get, set] |
Index access. More... | |
Multi-purpose 3D double vector struct.
Point3Dd | ( | double | x, |
double | y, | ||
double | z | ||
) |
Constructor.
x | X-coordinate. |
y | Y-Coordinate. |
z | Z-coordinate |
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 | ( | Point3Dd | 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. |
|
static |
Transform a point using an affine matrix (= coordinate system).
m | affine matrix to transform with |
p | point to transform |
Multiplication operator.
lhs | Left hand side operand. |
rhs | Right hand side operand. |
Multiply a Matrix with a PointD rhs.
lhs | matrix |
rhs | rhs |
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 |