Class: RdNapToEtrs::Point

Inherits:
Object
  • Object
show all
Defined in:
lib/rd_nap_to_etrs/point.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(x: nil, y: nil, nap: nil, lat: nil, lng: nil, h: nil) ⇒ Point

Returns a new instance of Point.



5
6
7
8
9
10
11
12
# File 'lib/rd_nap_to_etrs/point.rb', line 5

def initialize(x: nil, y: nil, nap: nil, lat: nil, lng: nil, h: nil)
  @x = x
  @y = y
  @nap = nap
  @lat = lat
  @lng = lng
  @h = h
end

Instance Attribute Details

#hObject

Returns the value of attribute h.



3
4
5
# File 'lib/rd_nap_to_etrs/point.rb', line 3

def h
  @h
end

#latObject

Returns the value of attribute lat.



3
4
5
# File 'lib/rd_nap_to_etrs/point.rb', line 3

def lat
  @lat
end

#lngObject

Returns the value of attribute lng.



3
4
5
# File 'lib/rd_nap_to_etrs/point.rb', line 3

def lng
  @lng
end

#napObject

Returns the value of attribute nap.



3
4
5
# File 'lib/rd_nap_to_etrs/point.rb', line 3

def nap
  @nap
end

#xObject

Returns the value of attribute x.



3
4
5
# File 'lib/rd_nap_to_etrs/point.rb', line 3

def x
  @x
end

#yObject

Returns the value of attribute y.



3
4
5
# File 'lib/rd_nap_to_etrs/point.rb', line 3

def y
  @y
end