Click or drag to resize

MilitaryGridReferenceSystem Class

Military Grid Reference System (MGRS). Uses the WGS 84 datum by default. Relies upon values from the UniversalTransverseMercator class
Inheritance Hierarchy
SystemObject
  CoordinateSharpMilitaryGridReferenceSystem

Namespace:  CoordinateSharp
Assembly:  CoordinateSharp (in CoordinateSharp.dll) Version: 2.1.1.1-beta.2
Syntax
C#
[SerializableAttribute]
public class MilitaryGridReferenceSystem

The MilitaryGridReferenceSystem type exposes the following members.

Constructors
  NameDescription
Public methodCode exampleMilitaryGridReferenceSystem(String, String, Double, Double)
Creates an MilitaryGridReferenceSystem (MGRS) object with a default WGS84 datum(ellipsoid).
Public methodCode exampleMilitaryGridReferenceSystem(String, Int32, String, Double, Double)
Creates an MilitaryGridReferenceSystem (MGRS) object with a default WGS84 datum(ellipsoid).
Public methodCode exampleMilitaryGridReferenceSystem(String, String, Double, Double, Double, Double)
Creates an MilitaryGridReferenceSystem (MGRS) object with a default WGS84 datum(ellipsoid).
Public methodCode exampleMilitaryGridReferenceSystem(String, Int32, String, Double, Double, Double, Double)
Creates an MilitaryGridReferenceSystem (MGRS) object with a custom datum(ellipsoid).
Top
Properties
  NameDescription
Public propertyDigraph
MGRS 100,000 Meter Square Identifier
Public propertyEasting
MGRS Easting
Public propertyLatZone
MGRS Latitude Band Grid Zone Designation
Public propertyLongZone
MGRS Longitude Band Grid Zone Designation
Public propertyNorthing
MGRS Northing
Public propertyWithinCoordinateSystemBounds
Determine if the MGRS conversion within the coordinate system's accurate boundaries after conversion from Lat/Long.
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodStatic memberCode exampleMGRStoLatLong
Creates a Coordinate object from an MGRS/NATO UTM Coordinate
Public methodStatic memberCode exampleMGRStoSignedDegree
Creates a Signed Degree double[] object from an MGRS/NATO UTM Coordinate
Public methodToString
Default formatted MGRS string
(Overrides ObjectToString.)
Top
See Also