Click or drag to resize
IrishRef Class
doogal.co.uk Home



Class to represent an Irish National Grid reference.

Irish National Grid

  • Projection: Transverse Mercator
  • Reference ellipsoid: Modified Airy
  • Units: metres
  • Origin: 53°30'N, 8°W
  • False co-ordinates of origin: 200000m east, 250000m north

Inheritance Hierarchy

Namespace: DotNetCoords
Assembly: DotNetCoords (in DotNetCoords.dll) Version: 1.0.0.15 (1.0.0.15)
Syntax
public class IrishRef : CoordinateSystem

The IrishRef type exposes the following members.

Constructors
  NameDescription
Public methodIrishRef(String)
Take a string formatted as a six-figure OS grid reference (e.g. "TG514131") and create a new OSRef object that represents that grid reference. The first character must be H, N, S, O or T. The second character can be any uppercase character from A through Z excluding I.
Public methodIrishRef(LatLng)
Create an IrishRef object from the given latitude and longitude.
Public methodIrishRef(Double, Double)
Create a new Ordnance Survey grid reference using a given easting and northing. The easting and northing must be in metres and must be relative to the origin of the British National Grid.
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 a hash function for a particular type.
(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 methodToLatLng
Convert this Irish grid reference to a latitude/longitude pair using the Ireland 1965 datum. Note that, the LatLng object may need to be converted to the WGS84 datum depending on the application.
(Overrides CoordinateSystemToLatLng.)
Public methodToSixFigureString
Return a String representation of this Irish grid reference using the six-figure notation in the form X123456
Public methodToString
Return a String representation of this Irish grid reference showing the easting and northing in metres.
(Overrides ObjectToString.)
Top
Properties
  NameDescription
Public propertyDatum
Gets the datum.
(Inherited from CoordinateSystem.)
Public propertyEasting
Gets or sets the easting in metres relative to the origin of the Irish Grid.
Public propertyNorthing
Gets or sets the northing in metres relative to the origin of the Irish Grid.
Top
See Also