| GeoCoordinateRectangleFromBoundingCoordinates(Double, Double, Double, Double) Method |
This is preliminary documentation and is subject to change.
Namespace: WikiClientLibraryAssembly: WikiClientLibrary (in WikiClientLibrary.dll) Version: 0.9.0-int.2+447d1d590e6726b7881f750a0a0e42908f3e417e
Syntax public static GeoCoordinateRectangle FromBoundingCoordinates(
double longitude1,
double latitude1,
double longitude2,
double latitude2
)
Public Shared Function FromBoundingCoordinates (
longitude1 As Double,
latitude1 As Double,
longitude2 As Double,
latitude2 As Double
) As GeoCoordinateRectangle
Dim longitude1 As Double
Dim latitude1 As Double
Dim longitude2 As Double
Dim latitude2 As Double
Dim returnValue As GeoCoordinateRectangle
returnValue = GeoCoordinateRectangle.FromBoundingCoordinates(longitude1,
latitude1, longitude2, latitude2)
public:
static GeoCoordinateRectangle FromBoundingCoordinates(
double longitude1,
double latitude1,
double longitude2,
double latitude2
)
static member FromBoundingCoordinates :
longitude1 : float *
latitude1 : float *
longitude2 : float *
latitude2 : float -> GeoCoordinateRectangle
Parameters
- longitude1 Double
- first longitude of the rectangle.
- latitude1 Double
- first latitude of the rectangle.
- longitude2 Double
- second longitude of the rectangle.
- latitude2 Double
- second latitude of the rectangle.
Return Value
GeoCoordinateRectangle
a
GeoCoordinateRectangle that uses the given vertex coordinates.
First longitude/latitude may be swapped with second one to ensure the resulting rectangle has
positive
Width and
Height.
See Also