Click or drag to resize

MilitaryGridReferenceSystem Structure

A set of coordinates for specifying locations on the Earth based on a grid of longitude and latitude zones as outlined in Defense Mapping Agency Technical Manual (DMA TM) 8358.1, "Datums, Ellipsoids, Grids, and Grid Reference Systems", Edition 1, 20 September 1990.

Namespace:  AGI.Foundation.Coordinates
Assembly:  AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 19.5.402.0 (19.5.402.0)
Syntax
public struct MilitaryGridReferenceSystem : IEquatable<MilitaryGridReferenceSystem>

The MilitaryGridReferenceSystem type exposes the following members.

Constructors
  NameDescription
Public methodMilitaryGridReferenceSystem(UniversalPolarStereographic)
Initializes a set of Military Grid Reference System (MGRS) coordinates from the provided Universal Polar Stereographic (UPS) coordinates.
Public methodMilitaryGridReferenceSystem(UniversalTransverseMercator, Ellipsoid)
Initializes a set of Military Grid Reference System (MGRS) coordinates from the provided Universal Transverse Mercator (UTM) coordinates and ellipsoid.
Public methodMilitaryGridReferenceSystem(String, String, Double, Double)
Initializes a set of Military Grid Reference System (MGRS) coordinates from the provided values.
Top
Properties
  NameDescription
Public propertyEasting
Gets the eastward distance of the location into the square.
Public propertyGrid
Gets the 1 or 3 character grid zone designator.
Public propertyNorthing
Gets the northward distance of the location into the grid.
Public propertySquare
Gets the 2 character 100,000 meter square designator.
Top
Methods
  NameDescription
Public methodEquals(Object)
Indicates whether another object is exactly equal to this instance.
(Overrides ValueTypeEquals(Object).)
Public methodEquals(MilitaryGridReferenceSystem)
Indicates whether another instance of this type is exactly equal to this instance.
Public methodEqualsEpsilon
Indicates whether each coordinate value of another instance of this type is within the required tolerance of the corresponding coordinate value of this instance.
Public methodGetHashCode
Returns a hash code for this instance, which is suitable for use in hashing algorithms and data structures like a hash table.
(Overrides ValueTypeGetHashCode.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodToString
Returns the string representation of the value of this instance.
(Overrides ValueTypeToString.)
Public methodTryConvertToUniversalPolarStereographic
Attempts to convert this instance to a set of UniversalPolarStereographic coordinates.
Public methodTryConvertToUniversalTransverseMercator
Attempts to convert this instance to a set of UniversalTransverseMercator coordinates.
Top
Operators
  NameDescription
Public operatorStatic memberEquality
Returns if the two instances are exactly equal.
Public operatorStatic memberInequality
Returns if the two instances are not exactly equal.
Top
See Also