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.2+447d1d590e6726b7881f750a0a0e42908f3e417e
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