Class: Puree::Model::SpatialPoint

Inherits:
Structure
  • Object
show all
Defined in:
lib/puree/model/spatial_point.rb

Overview

A geographical point.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Structure

#data?

Instance Attribute Details

#latitudeFloat?

Returns:

  • (Float, nil)


9
10
11
# File 'lib/puree/model/spatial_point.rb', line 9

def latitude
  @latitude
end

#longitudeFloat?

Returns:

  • (Float, nil)


12
13
14
# File 'lib/puree/model/spatial_point.rb', line 12

def longitude
  @longitude
end