Click or drag to resize

GeoCoordinateRectangleFromBoundingCoordinates(Double, Double, Double, Double) Method

This is preliminary documentation and is subject to change.

Constructs a GeoCoordinateRectangle instance from the given bounding coordinates.

Namespace: WikiClientLibrary
Assembly: WikiClientLibrary (in WikiClientLibrary.dll) Version: 0.9.0-int.3+0a73c45f0c78941900e328c6c6b819597b665e00
Syntax
public static GeoCoordinateRectangle FromBoundingCoordinates(
	double longitude1,
	double latitude1,
	double longitude2,
	double latitude2
)

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