Summary
Represents a point in 2D space.
Constructors
Instance methods
bool | | Implements IEquatable<T>. |
bool | | Refer to the documentation for object.Equals. |
int | | Refer to the documentation for object.GetHashCode. |
PointD | |
Rotates the current point by the specified angle about the origin. |
PointD | |
Rotates the current point by the specified angle about the specified point. |
PointD | |
Rotates the current point by the specified angle about the origin. |
PointD | |
Rotates the current point by the specified angle about the specified point. |
string | | Refer to the documentation for object.ToString. |
Operators
PointD | | Adds two points (treating them as vectors). |
PointD | | Divides a point by a specified scalar factor. |
PointD | | Multiplies a point by a specified scalar factor. |
PointD | |
PointD | | Subtracts a point from another (treating them as vectors). |
Instance properties
double | | Calculates the distance of this point from the origin. |
double | | Returns the theta (angle) of the vector represented by this PointD. |
PointD | | Returns the unit vector in the same direction as this one. |
double | | X-coordinate. |
double | | Y-coordinate. |