| LatLng Constructor (Int32, Int32, Double, NorthSouth, Int32, Int32, Double, EastWest, Double, Datum) | 
doogal.co.uk Home
 
            Create a new LatLng object to represent a latitude/longitude pair using the
            specified datum.
            
 
    Namespace: 
   DotNetCoords
    Assembly:
   DotNetCoords (in DotNetCoords.dll) Version: 1.0.0.24 (1.0.0.24)
Syntaxpublic LatLng(
	int latitudeDegrees,
	int latitudeMinutes,
	double latitudeSeconds,
	NorthSouth northSouth,
	int longitudeDegrees,
	int longitudeMinutes,
	double longitudeSeconds,
	EastWest eastWest,
	double height,
	Datum datum
)
Public Sub New ( 
	latitudeDegrees As Integer,
	latitudeMinutes As Integer,
	latitudeSeconds As Double,
	northSouth As NorthSouth,
	longitudeDegrees As Integer,
	longitudeMinutes As Integer,
	longitudeSeconds As Double,
	eastWest As EastWest,
	height As Double,
	datum As Datum
)
public:
LatLng(
	int latitudeDegrees, 
	int latitudeMinutes, 
	double latitudeSeconds, 
	NorthSouth northSouth, 
	int longitudeDegrees, 
	int longitudeMinutes, 
	double longitudeSeconds, 
	EastWest eastWest, 
	double height, 
	Datum^ datum
)
new : 
        latitudeDegrees : int * 
        latitudeMinutes : int * 
        latitudeSeconds : float * 
        northSouth : NorthSouth * 
        longitudeDegrees : int * 
        longitudeMinutes : int * 
        longitudeSeconds : float * 
        eastWest : EastWest * 
        height : float * 
        datum : Datum -> LatLngParameters
- latitudeDegrees
 - Type: SystemInt32
The degrees part of the latitude. Must be 0 <= latitudeDegrees <=
            90.0. - latitudeMinutes
 - Type: SystemInt32
The minutes part of the latitude. Must be 0 <= latitudeMinutes <
            60.0. - latitudeSeconds
 - Type: SystemDouble
The seconds part of the latitude. Must be 0 <= latitudeSeconds <
            60.0. - northSouth
 - Type: DotNetCoordsNorthSouth
Whether the latitude is north or south of the equator. - longitudeDegrees
 - Type: SystemInt32
The degrees part of the longitude. Must be 0 <= longitudeDegrees <=
            180.0. - longitudeMinutes
 - Type: SystemInt32
The minutes part of the longitude. Must be 0 <= longitudeMinutes <
            60.0. - longitudeSeconds
 - Type: SystemDouble
The seconds part of the longitude. Must be 0 <= longitudeSeconds <
            60.0. - eastWest
 - Type: DotNetCoordsEastWest
Whether the longitude is east or west of the prime meridian. - height
 - Type: SystemDouble
The perpendicular height above the reference ellipsoid. - datum
 - Type: DotNetCoords.DatumDatum
The datum that this reference is based on. 
Exceptions| Exception | Condition | 
|---|
| ArgumentException | if any of the parameters are invalid. | 
See Also