gistoolkit.projection
Class BritishNationalGridProjection

java.lang.Object
  extended bygistoolkit.projection.TransversMercatorProjection
      extended bygistoolkit.projection.BritishNationalGridProjection
All Implemented Interfaces:
EllipsoidProjection, Projection

public class BritishNationalGridProjection
extends TransversMercatorProjection


Constructor Summary
BritishNationalGridProjection()
          Default constructor.
 
Method Summary
 java.lang.Object[] degreeToSquare(double lat, double lon)
           
 java.lang.String getProjectionName()
          return the name of the projection
static void main(java.lang.String[] arg)
          For testing.
 
Methods inherited from class gistoolkit.projection.TransversMercatorProjection
altTransformBackward, altTransformForward, clone, forwardM, getCentralScale, getCoefficients, getEasting, getEllipsoid, getLatOragin, getLonOragin, getNode, getNorthing, getUnitOfMeasure, projectBackward, projectForward, reverseM, setCentralScale, setEasting, setEllipsoid, setEnvelope, setLatOragin, setLonOragin, setNode, setNorthing
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BritishNationalGridProjection

public BritishNationalGridProjection()
Default constructor.

Method Detail

getProjectionName

public java.lang.String getProjectionName()
return the name of the projection

Specified by:
getProjectionName in interface Projection
Overrides:
getProjectionName in class TransversMercatorProjection

degreeToSquare

public java.lang.Object[] degreeToSquare(double lat,
                                         double lon)

main

public static void main(java.lang.String[] arg)
For testing. Call the class from the command line with two parameters, first latitude, then longitude.