LatLng Constructor (Double, Double, 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.22 (1.0.0.22)
Syntax public LatLng(
double latitude,
double longitude,
double height,
Datum datum
)
Public Sub New (
latitude As Double,
longitude As Double,
height As Double,
datum As Datum
)
public:
LatLng(
double latitude,
double longitude,
double height,
Datum^ datum
)
new :
latitude : float *
longitude : float *
height : float *
datum : Datum -> LatLng
Parameters
- latitude
- Type: SystemDouble
The latitude in degrees. Must be between -90.0 and 90.0 inclusive.
-90.0 and 90.0 are effectively equivalent. - longitude
- Type: SystemDouble
The longitude in degrees. Must be between -180.0 and 180.0
inclusive. -180.0 and 180.0 are effectively equivalent. - 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 either the given latitude or the given longitude are invalid. |
See Also