Name | Description | |
---|---|---|
![]() | Coordinate2D Constructor | Overloaded. |
The following tables list the members exposed by Coordinate2D.
Name | Description | |
---|---|---|
![]() | Coordinate2D Constructor | Overloaded. |
Name | Description | |
---|---|---|
![]() | Direction | Gets the direction. |
![]() | IsEmpty | Indicates if the Coordinate2D is empty. |
![]() | Magnitude | Gets or sets the length of the Coordinate2D as a vector. |
![]() | X | Gets or sets the X-component. |
![]() | Y | Gets or sets the Y-component. |
Name | Description | |
---|---|---|
![]() ![]() | ConstructEmpty | Constructs a new empty Coordinate2D. |
![]() ![]() | Distance | Gets the 2D distance between two instances of Coordinate2D. |
![]() | DotProduct | Calculates the dot product of this Coordinate2D and another Coordinate2D. Vector dot product is used. |
![]() | Equals | Overloaded. |
![]() | GetHashCode | Obtains a hash code of the object. Used in Equals. |
![]() | GetPerpendicular | Constructs a Coordinate2D that is perpendicular to this vector. |
![]() | GetUnitVector | Constructs a Coordinate2D with Magnitude = 1 from this vector; |
![]() ![]() | Midpoint | Constructs the midpoint of the segment connecting two instances of Coordinate2D. |
![]() | Move | Moves the Coordinate2D by adding a shift value to each component. |
![]() | Normalize | Normalizes the Coordinate2D which means it is scaled to magnitude = 1. |
![]() | QueryComponents | Gets the components of the Coordinate2D. |
![]() | Rotate | Overloaded. |
![]() | Scale | Scales the Coordinate2D by the given factor. |
![]() | SetComponents | Sets the components of the Coordinate2D. |
![]() | SetEmpty | Sets the Coordinate2D to empty. |
![]() | ToMapPoint | Convert the Coordinate2D into a MapPoint. |
![]() | Constructs a new Coordinate2D by adding two Coordinate2D objects. Vector addition is used. |
![]() | Constructs a new Coordinate2D by performing scalar division on a Coordinate2D. |
![]() | Determines whether the components of the two Coordinate2D objects are equal. |
![]() | Allow explicit casting of a MapPoint to a Coordinate2D. |
![]() | Determines whether the components of the two Coordinate2D objects are not equal. |
![]() | Overloaded. |
![]() | Constructs a new Coordinate2D by subtracting two Coordinate2D objects. Vector subtraction is used. |