Class: GeoDistance::Vincenty
- Inherits:
-
DistanceFormula
- Object
- DistanceFormula
- GeoDistance::Vincenty
- Defined in:
- lib/geo_magic/distance.rb
Class Method Summary collapse
Class Method Details
.point_distance(point_a, point_b) ⇒ Object
21 22 23 24 |
# File 'lib/geo_magic/distance.rb', line 21 def self.point_distance point_a, point_b points = GeoMagic::Util.extract_points point_a, point_b distance *points end |