PointUtils.IsNullIsland method

Version 1.1.28
.NET Framework 4.8
Namespace Skybrud.Essentials.Maps
Assembly Skybrud.Essentials.dll

IsNullIsland(double, double)

Static

Returns whether the specified point identified by the specified latitude and longitude is equal to Null Island, that is where both IPoint.Latitude and IPoint.Longitude are 0.

public static bool IsNullIsland(double latitude, double longitude)

Parameters

latitude Double

The latitude of the point.

longitude Double

The longitude of the point.

Returns

true if both latitude and longitude are equal to 0; otherwise false.

IsNullIsland(IPoint)

Static

Returns whether the specified point is equal to Null Island, that is where both IPoint.Latitude and IPoint.Longitude are 0.

public static bool IsNullIsland(IPoint point)

Parameters

point IPoint

The point.

Returns

true if both IPoint.Latitude and IPoint.Longitude are equal to 0; otherwise false.