mccombe.mapping
Class LambertIIExtended

java.lang.Object
  extended by mccombe.mapping.CoordinateSystem
      extended by mccombe.mapping.Projection
          extended by mccombe.mapping.Lambert
              extended by mccombe.mapping.LambertIIExtended

public class LambertIIExtended
extends Lambert

A non-abstract class implementing the Lambert Conformal Conical projection for Zone 2-extended (all of mainland France and Corsica)


Field Summary
 
Fields inherited from class mccombe.mapping.CoordinateSystem
locus, ref, sph
 
Constructor Summary
LambertIIExtended(ENPair en, Ellipsoid e, Datum d)
          Create an instance of LambertIIExtended from easting and northing distances, Ellipsoid and Datum
LambertIIExtended(Position p, Ellipsoid e, Datum d)
          Create an instance of LambertIIExtended from Position, Ellipsoid and Datum
 
Method Summary
protected  double e0()
          Define false easting value
protected  double lamda0()
          Define longitude of grid origin
static LambertIIExtended makePoint(java.lang.String gridref, Ellipsoid e, Datum d)
          Static factory method to create an instance of LambertII from a grid reference String
protected  double n0()
          Define false northing
protected  double phiB()
          Define latitude of false origin
protected  double phiL()
          Define lower standard parallel for this projection
protected  double phiU()
          Define Upper standard parallel for this conical projection
 
Methods inherited from class mccombe.mapping.Lambert
calcCoords, defaultDatum, defaultEllipsoid, getEN, gridConvergence, toEN, toString
 
Methods inherited from class mccombe.mapping.CoordinateSystem
getDatum, getEllipsoid, getName, getPosition, getWGS84, parseDouble, toLatLong, toLatLongString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LambertIIExtended

public LambertIIExtended(Position p,
                         Ellipsoid e,
                         Datum d)
Create an instance of LambertIIExtended from Position, Ellipsoid and Datum

Parameters:
p - the position of this point
e - The Ellipsoid to use
d - The datum to be used

LambertIIExtended

public LambertIIExtended(ENPair en,
                         Ellipsoid e,
                         Datum d)
Create an instance of LambertIIExtended from easting and northing distances, Ellipsoid and Datum

Parameters:
en - Easting and Northing distances
e - Ellipsoid to use
d - Datum to use
Method Detail

makePoint

public static LambertIIExtended makePoint(java.lang.String gridref,
                                          Ellipsoid e,
                                          Datum d)
                                   throws GridFormatException
Static factory method to create an instance of LambertII from a grid reference String

Parameters:
gridref - A grid reference of the form "X=... Y=..." where the values are easting and northing distances in km.
e - Ellipsoid to use in conversions
d - Datum to use in conversions
Returns:
A new LambertI instance
Throws:
GridFormatException - thrown in case of format error in the grid reference

phiU

protected double phiU()
Define Upper standard parallel for this conical projection

Specified by:
phiU in class Lambert
Returns:
Upper Standard Parallel (radians)

phiL

protected double phiL()
Define lower standard parallel for this projection

Specified by:
phiL in class Lambert
Returns:
Lower Standard Parallel (radians)

phiB

protected double phiB()
Define latitude of false origin

Specified by:
phiB in class Lambert
Returns:
Latitude of false origin (radians)

lamda0

protected double lamda0()
Define longitude of grid origin

Specified by:
lamda0 in class Lambert
Returns:
Longitude of grid origin (radians)

e0

protected double e0()
Define false easting value

Specified by:
e0 in class Lambert
Returns:
False easting (m)

n0

protected double n0()
Define false northing

Specified by:
n0 in class Lambert
Returns:
False northing distance (m)