Class: Geom::LatLong
- Inherits:
-
Object
- Object
- Geom::LatLong
Overview
The LatLong class contains various methods for creating and manipulating latitude and longitude coordinates.
Instance Method Summary # collapse
-
#initialize(*args) ⇒ Object
constructor
The new method creates a LatLong object.
-
#latitude ⇒ Float
The Latitude method retrieves the latitude coordinate from a LatLong object.
-
#longitude ⇒ Float
The Latitude method retrieves the longitude coordinate from a LatLong object.
-
#to_a ⇒ Array(Float, Float)
The #to_a method converts a LatLong object to an array of two values.
- #to_s ⇒ String
-
#to_utm ⇒ Geom::UTM
The to_utm method converts a LatLong object to a UTM object.
Constructor Details
↑ #initialize ⇒ Geom::LatLong #initialize(latlong) ⇒ Geom::LatLong #initialize(latlong_array) ⇒ Geom::LatLong #initialize(lat, long) ⇒ Geom::LatLong
The new method creates a LatLong object.