Point
|
The Point2d type exposes the following members.
| Name | Description | |
|---|---|---|
| Point2d(Double) | Constructor for the Point2d class. Creates a new point with coordinates taken from the first two values of the passed array. | |
| Point2d(Double, Double) | Constructor for the Point2d class. Creates a new point with coordinates specified by the x and y values. |
| Name | Description | |
|---|---|---|
| Coordinate | Represents a point coordinate. | |
| Origin | Property that represents the system origin. | |
| X | Property that represents the x-coordinate of the point. | |
| Y | Property that represents the y-coordinate of the point. |
| Name | Description | |
|---|---|---|
| Add | Returns a new point as the result of adding this point to the specified two-dimensional vector. | |
| DivideBy | Returns a new point as the result of dividing this point's coordinates by the specified value. | |
| Equals | Checks objects for equality. (Overrides ValueTypeEquals(Object)) |
|
| GetAsVector | Returns this point as a vector. | |
| GetDistanceTo | Retrieves the distance from this point to the specified point. | |
| GetHashCode | Retrieves the object hash code. (Overrides ValueTypeGetHashCode) |
|
| GetType | (Inherited from Object) |
|
| GetVectorTo | Retrieves the vector with respect to the specified point. | |
| IsEqualTo(Point2d) | Checks points for equality. | |
| IsEqualTo(Point2d, Tolerance) | Checks points for equality with respect to the specified tolerance. | |
| Mirror | Mirrors this point about the specified 2D line. | |
| MultiplyBy | Multiplies coordinates of this point by the passed value. | |
| RotateBy | Rotates this point about the specified point by the specified angle. | |
| ScaleBy | Scales this point by the scale factor about the specified point. | |
| Subtract | Subtracts the specified value from each coordinate of this point and returns the resulting point. | |
| ToArray | Returns an array that holds the point coordinate values. The array consists of two elements. | |
| ToString | Returns a string representation of this object. (Overrides ValueTypeToString) |
|
| ToString(IFormatProvider) | Returns an equivalent string representation of this object. | |
| ToString(String, IFormatProvider) | Returns an equivalent string representation of this object. | |
| TransformBy | Sets this point to the result of the matrix multiplication of leftSide * this point. |
| Name | Description | |
|---|---|---|
| Addition(Point2d, Vector2d) | Addition operator for the Point2d class. | |
| Division(Point2d, Double) | Division operator for the Point2d class. | |
| Equality(Point2d, Point2d) | Equality operator for the Point2d class. | |
| Inequality(Point2d, Point2d) | Inequality operator for the Point2d class. | |
| Multiply(Double, Point2d) | Multiplication operator for the Point2d class. | |
| Multiply(Matrix2d, Point2d) | Multiplication operator for the Point2d class. | |
| Multiply(Point2d, Double) | Multiplication operator for the Point2d class. | |
| Subtraction(Point2d, Point2d) | Subtraction operator for the Point2d class. | |
| Subtraction(Point2d, Vector2d) | Subtraction operator for the Point2d class. |