Module: GeoVector::Macros
Instance Method Summary collapse
- #point_vector ⇒ Object (also: #geo_vector, #p_vector)
- #vector ⇒ Object
Instance Method Details
#point_vector ⇒ Object Also known as: geo_vector, p_vector
3 4 5 |
# File 'lib/geo_vectors/macros.rb', line 3 def point_vector PointVector.new self.geo_point end |
#vector ⇒ Object
9 10 11 |
# File 'lib/geo_vectors/macros.rb', line 9 def vector GeoVector::Parser.create_vector *self end |