Name | Description | |
---|---|---|
![]() ![]() | ConstructEmpty | Construct an 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. |