Method: Proj::Point#initialize

Defined in:
lib/point.rb

#initialize(x, y) ⇒ Point

Create new Point object from coordinates.



14
15
16
17
18
# File 'lib/point.rb', line 14

def initialize(x, y)
  @struct = Api::ProjUV.new
  @struct[:u] = x
  @struct[:v] = y
end