Class: Mercator::Projection

Inherits:
Object
  • Object
show all
Defined in:
lib/mercator/projection.rb

Overview

Base projection class. Normally you would not use this class in calculations, instead use one of the subclasses defined below.

Direct Known Subclasses

Sweref99

Instance Attribute Summary collapse

Instance Attribute Details

#central_meridianObject

Returns the value of attribute central_meridian.



7
8
9
# File 'lib/mercator/projection.rb', line 7

def central_meridian
  @central_meridian
end

#false_eastingObject

Returns the value of attribute false_easting.



9
10
11
# File 'lib/mercator/projection.rb', line 9

def false_easting
  @false_easting
end

#false_northingObject

Returns the value of attribute false_northing.



10
11
12
# File 'lib/mercator/projection.rb', line 10

def false_northing
  @false_northing
end

#scaleObject

Returns the value of attribute scale.



8
9
10
# File 'lib/mercator/projection.rb', line 8

def scale
  @scale
end