public class Projection extends Object
Constructor | Description |
---|---|
Projection(String type) |
Get the correct projection
|
Projection(String type,
double[] reference) |
Create the specified projection.
|
Modifier and Type | Method | Description |
---|---|---|
static double[] |
fixedPoint(String proj) |
This static method returns the location of the
default projection center for fixed point projections.
|
Distorter |
getDistorter() |
Get any distortion in the plane associated with this projection.
|
Projecter |
getProjecter() |
Get the projection algorithm associated with this rotation.
|
double[] |
getReferencePoint() |
Get the current reference position
|
Rotater |
getRotater() |
Get the rotation that needs to be performed before the rotation.
|
boolean |
isFixedProjection() |
Is this a fixed point projection?
|
void |
setDistorter(Distorter dist) |
|
void |
setReference(double lon,
double lat) |
|
void |
setRotater(Rotater rot) |
Update the Rotater...
|
protected double[] |
specialReference() |
public Projection(String type) throws TransformationException
TransformationException
public Projection(String type, double[] reference) throws TransformationException
type
- The three character string defining
the projection.reference
- The reference point for the projection (as a coordinate pair)TransformationException
- when the requested projection
cannot be found or does not have an appropriate constructor.public void setReference(double lon, double lat)
public static double[] fixedPoint(String proj)
proj
- The three letter string denoting the projection.public Rotater getRotater()
public void setRotater(Rotater rot)
public Projecter getProjecter()
public Distorter getDistorter()
public void setDistorter(Distorter dist)
protected double[] specialReference()
public boolean isFixedProjection()
public double[] getReferencePoint()