Click or drag to resize
UTMRef Constructor (Int32, Char, Double, Double, Datum)
doogal.co.uk Home



Create a new UTM reference object. Checks are made to make sure that the given parameters are roughly valid, but the checks are not exhaustive with regards to the easting value. Catching a NotDefinedOnUTMGridException does not necessarily mean that the UTM reference is well-formed. This is because that valid values for the easting vary depending on the latitude.

Namespace:  DotNetCoords
Assembly:  DotNetCoords (in DotNetCoords.dll) Version: 1.0.0.22 (1.0.0.22)
Syntax
public UTMRef(
	int lngZone,
	char latZone,
	double easting,
	double northing,
	Datum datum
)

Parameters

lngZone
Type: SystemInt32
The longitude zone number.
latZone
Type: SystemChar
The latitude zone character.
easting
Type: SystemDouble
The easting in metres.
northing
Type: SystemDouble
The northing in metres.
datum
Type: DotNetCoords.DatumDatum
The datum of the UTM reference
Exceptions
ExceptionCondition
NotDefinedOnUtmGridException If any of the parameters are invalid. Be careful that a valid value for the easting does not necessarily mean that the UTM reference is well-formed. The current checks do not take into account the varying range of valid values for the easting for different latitudes.
See Also