Class: Mercator::Projection
- Inherits:
-
Object
- Object
- Mercator::Projection
- 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
Instance Attribute Summary collapse
-
#central_meridian ⇒ Object
Returns the value of attribute central_meridian.
-
#false_easting ⇒ Object
Returns the value of attribute false_easting.
-
#false_northing ⇒ Object
Returns the value of attribute false_northing.
-
#scale ⇒ Object
Returns the value of attribute scale.
Instance Attribute Details
#central_meridian ⇒ Object
Returns the value of attribute central_meridian.
7 8 9 |
# File 'lib/mercator/projection.rb', line 7 def central_meridian @central_meridian end |
#false_easting ⇒ Object
Returns the value of attribute false_easting.
9 10 11 |
# File 'lib/mercator/projection.rb', line 9 def false_easting @false_easting end |
#false_northing ⇒ Object
Returns the value of attribute false_northing.
10 11 12 |
# File 'lib/mercator/projection.rb', line 10 def false_northing @false_northing end |
#scale ⇒ Object
Returns the value of attribute scale.
8 9 10 |
# File 'lib/mercator/projection.rb', line 8 def scale @scale end |