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