MilitaryGridReferenceSystem Structure |
Namespace: AGI.Foundation.Coordinates
The MilitaryGridReferenceSystem type exposes the following members.
Name | Description | |
---|---|---|
MilitaryGridReferenceSystem(UniversalPolarStereographic) |
Initializes a set of Military Grid Reference System (MGRS)
coordinates from the provided
Universal Polar Stereographic (UPS) coordinates.
| |
MilitaryGridReferenceSystem(UniversalTransverseMercator, Ellipsoid) |
Initializes a set of Military Grid Reference System (MGRS)
coordinates from the provided
Universal Transverse Mercator (UTM) coordinates and ellipsoid.
| |
MilitaryGridReferenceSystem(String, String, Double, Double) |
Initializes a set of Military Grid Reference System (MGRS)
coordinates from the provided values.
|
Name | Description | |
---|---|---|
Easting |
Gets the eastward distance of the location into the square.
| |
Grid |
Gets the 1 or 3 character grid zone designator.
| |
Northing |
Gets the northward distance of the location into the grid.
| |
Square |
Gets the 2 character 100,000 meter square designator.
|
Name | Description | |
---|---|---|
Equals(MilitaryGridReferenceSystem) |
Indicates whether another instance of this type is exactly equal to this instance.
| |
Equals(Object) |
Indicates whether another object is exactly equal to this instance.
(Overrides ValueTypeEquals(Object).) | |
EqualsEpsilon |
Indicates whether each coordinate value of another instance of this type
is within the required tolerance of the corresponding coordinate value of this instance.
| |
GetHashCode |
Returns a hash code for this instance, which is suitable for use in hashing algorithms and data structures like a hash table.
(Overrides ValueTypeGetHashCode.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
ToString |
Returns the string representation of the value of this instance.
(Overrides ValueTypeToString.) | |
TryConvertToUniversalPolarStereographic |
Attempts to convert this instance to a set of UniversalPolarStereographic coordinates.
| |
TryConvertToUniversalTransverseMercator |
Attempts to convert this instance to a set of UniversalTransverseMercator coordinates.
|
Name | Description | |
---|---|---|
Equality |
Returns if the two instances are exactly equal.
| |
Inequality |
Returns if the two instances are not exactly equal.
|