MapUnit Members
A class that contains a location in internal map units.Constructors
Name | Description |
---|---|
MapUnit(Double, Double) | Initializes a new instance of the MapUnit class with the specified X and Y locations of the map unit. |
Properties
Name | Description |
---|---|
X | A horizontal coordinate of a MapUnit. |
Y | A vertical coordinate of a MapUnit. |
Methods
Name | Description |
---|---|
Equals(MapUnit) | Determines whether the specified object is equal to the current MapUnit instance. |
Equals(MapUnit, MapUnit) static | Determines whether the two specified MapUnit objects are equal. |
Equals(Object) | Determines whether the specified object is equal to the current MapUnit instance. |
Equals(Object, Object) static | Determines whether the specified object instances are considered equal. Inherited from Object. |
GetHashCode() | Gets the hash code (a number) that corresponds to the value of the current MapUnit object. |
GetType() | Gets the Type of the current instance. Inherited from Object. |
Normalize(MapUnit) static | Normalizes the specified map unit’s coordinates to the range from 0 to 1. |
Parse(String) static | Converts the string representation of a map unit to its MapUnit equivalent. |
ReferenceEquals(Object, Object) static | Determines whether the specified Object instances are the same instance. Inherited from Object. |
ToString() | Returns the textual representation of MapUnit. |
ToString(IFormatProvider) | Returns the textual representation of MapUnit. |
Operators
Name | Description |
---|---|
Equality(MapUnit, MapUnit) static | Compares two MapUnit objects. The result specifies whether these objects are equal. |
Implicit(MapUnit to Point) static | Converts the specified MapUnit object to a Point object. |
Inequality(MapUnit, MapUnit) static | Compares two MapUnit objects. The result specifies whether these objects are unequal. |
See Also
Feedback