Encapsulates a double-precision point.
double | | Returns the length of the vector represented by this PointD. |
double | |
Returns the Z-component of the cross product of this vector with the other one. The Z-component is equal to
the product of: the lengths of the two vectors and the sin of the angle between them. Note that the X and Y
components of a cross product of 2-vectors are always zero. |
void | |
Decomposes this vector into components relative to another vector. |
void | | Deconstructs this point into a tuple. |
double | | Calculates the distance between this point and the origin. |
double | | Calculates the distance between this point and other. |
double | | Returns the dot product of this vector with the specified one. |
bool | |
Compares two PointD objects for equality. |
bool | |
int | | Returns a hash code for the current PointD. |
double | | Returns the length of this vector's projection onto the specified vector. |
double | | Returns the length of this vector's projection onto a unit vector at the specified angle. |
PointD | | Returns a vector normal to this one. |
PointD | |
Returns a vector representing the projection (i.e. length and direction) of this vector onto the specified
vector. |
void | |
Performs the inverse of PointD.DecomposeAlong(PointD, out double, out double), modifying the current vector in place. |
PointD | |
Returns a vector of the same length as this vector, but rotated by the specified angle. |
double | | Returns the theta (angle) of the vector represented by this PointD. |
PointF | |
Converts the current PointD object to a PointF. Note that doing so loses
precision. |
string | |
Provides a string representation of the current PointD. |
PointD | | Returns the unit vector in the same direction as this one. |
PointD | | Performs vector addition, returning the result. |
PointD | | Scales a vector by 1 / scalar (i.e. performs scalar division). |
bool | |
Compares two PointD objects for equality. |
bool | |
Compares two PointD objects for inequality. |
PointD | | Scales a vector by a scalar. |
PointD | |
PointD | | Performs vector subtraction, returning the result. |
PointD | |
Performs unary vector negation (i.e. the resulting point is of the same length but pointing in the opposite
direction). |