GeoCoordinateAreSamePosition Method

Compares two GeoCoordinate objects to determine whether both describe the same geographic location.

Definition

Namespace: FolkerKinzel.VCards.Models
Assembly: FolkerKinzel.VCards (in FolkerKinzel.VCards.dll) Version: 8.0.1+a91cc3f0fd39aeb548e16006a60ca9dd10a304a2
C#
public static bool AreSamePosition(
	GeoCoordinate coordinate1,
	GeoCoordinate coordinate2
)

Parameters

coordinate1  GeoCoordinate
The first GeoCoordinate object.
coordinate2  GeoCoordinate
The second GeoCoordinate object.

Return Value

Boolean
true if coordinate1 and coordinate2 describe the same geographical location, otherwise false.

Exceptions

ArgumentNullExceptioncoordinate1 or coordinate2 is null.

See Also