C# Класс DRHelperClasses.Maths.MathCoordinates

Static helper class for performing Mathematics on coordinates
Показать файл Открыть проект

Открытые методы

Метод Описание
GetCartisianDisplacementOnXYPlane ( MapCoordinate c1, MapCoordinate c2 ) : double

Calculates the Cartisian Displacement between two coordinates on the XY plane

GetManhattenDistanceOnXYPlane ( MapCoordinate c1, MapCoordinate c2 ) : int

Calculates the Manhatten distance on the XY plane between two coordinates

Описание методов

GetCartisianDisplacementOnXYPlane() публичный статический Метод

Calculates the Cartisian Displacement between two coordinates on the XY plane
public static GetCartisianDisplacementOnXYPlane ( MapCoordinate c1, MapCoordinate c2 ) : double
c1 MapCoordinate
c2 MapCoordinate
Результат double

GetManhattenDistanceOnXYPlane() публичный статический Метод

Calculates the Manhatten distance on the XY plane between two coordinates
public static GetManhattenDistanceOnXYPlane ( MapCoordinate c1, MapCoordinate c2 ) : int
c1 MapCoordinate
c2 MapCoordinate
Результат int