public class OSGB extends UTM
FROM_LAT_LONG, TO_LAT_LONG
Constructor and Description |
---|
OSGB()
Initialises the transformer assuming a forward transformation is into OSGB
coordinates.
|
OSGB(int direction)
Initialises the transformer.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDescription()
Provides a general description of the transformation.
|
processing.core.PVector |
invTransformCoords(processing.core.PVector p)
Performs an inverse OSGB to longitude/latitude transform of the given location.
|
processing.core.PVector |
transformCoords(processing.core.PVector p)
Performs a forward longitude/latitude to OSGB transformation of the given location.
|
doInterpolation, getEllipsoid, getZone, getZoneLetter, getZoneNumber, latLongToUTM, latLongToUTM, setInterpolation, setZone, setZone, UTMToLatLong, UTMToLatLong
public OSGB()
public OSGB(int direction)
direction
- Indicates whether transforming to or from longitude/latitude.public processing.core.PVector transformCoords(processing.core.PVector p)
transformCoords
in interface MapProjection
transformCoords
in class UTM
p
- Point coordinates to transformpublic processing.core.PVector invTransformCoords(processing.core.PVector p)
invTransformCoords
in interface MapProjection
invTransformCoords
in class UTM
p
- Point coordinates to transform.public java.lang.String getDescription()
getDescription
in interface MapProjection
getDescription
in class UTM