Class: Tracksperanto::Tool::LensDisto::RF

Inherits:
Struct
  • Object
show all
Defined in:
lib/tools/lens_disto.rb

Instance Method Summary collapse

Instance Method Details

#inspectObject


34
35
36
# File 'lib/tools/lens_disto.rb', line 34

def inspect
  '(%0.3f %0.3f)' % [r, f]
end

#mObject


38
39
40
# File 'lib/tools/lens_disto.rb', line 38

def m
  r * f
end