Click or drag to resize

Distance Class

Provides distance calculation routines.
Inheritance Hierarchy
SystemObject
  Ptv.Components.ProjectionsDistance

Namespace:  Ptv.Components.Projections
Assembly:  Ptv.Components.Projections (in Ptv.Components.Projections.dll) Version: 1.7.10.0
Syntax
public static class Distance
Methods
  NameDescription
Public methodStatic memberCode exampleGetHaversineDistance(Double, Double, Double, Double)
Calculates the haversine distance between to points, specified as lon/lat, aka WGS84, aka EPSG:4326.
Public methodStatic memberCode exampleGetHaversineDistance(CoordinateReferenceSystem, Double, Double, Double, Double)
Extension method that calculates the haversine distance between to points using a specific coordinate reference system.
Top
See Also