|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgistoolkit.projection.SimpleProjection
Used for handling general things like lat oragin, long oragin, and elipsoid.
Field Summary | |
static double |
FORTPI
PI /4 |
static double |
HALFPI
PI /2 |
static double |
PI
Ratio of the circumference of a circle to its diameter |
static double |
TWOPI
Pi * 2 |
Constructor Summary | |
SimpleProjection()
|
Method Summary | |
(package private) double |
aacos(double v)
|
(package private) double |
aasin(double v)
|
(package private) double |
aatan2(double n,
double d)
|
(package private) double |
asqrt(double v)
|
abstract java.lang.Object |
clone()
clone this object |
protected void |
doSetup()
allow insertable setup data |
double |
getEasting()
Retrieve the easting of true oragin for this projection |
double |
getEccentricity()
get the eccentricity number |
Ellipsoid |
getEllipsoid()
Retrieve the ellipsoid used to model the lat long coordinates of the earth |
double |
getESquared()
get the esquared number |
double |
getLatOragin()
Retrieve the latitude location of the true oragin of the map. |
double |
getLonOragin()
Retrieve the longatude location of the true oragin of the map. |
Node |
getNode()
Return the configuration information for this projection |
double |
getNorthing()
Retrieve the northing of true oragin for this projection |
abstract java.lang.String |
getProjectionName()
return the name of the projection |
java.lang.String |
getUnitOfMeasure()
return the units for this projection. |
double |
hypot(double x,
double y)
return the euclidian hypotenuse of a right triangle Math.sqrt(x*x+y*y); |
static double[] |
pj_enfn(double inESquared)
meridinal distance for ellipsoid and inverse 8th degree - accurate to < 1e-5 meters when used in conjuction with typical major axis values. |
(package private) double |
pj_msfn(double sinphi,
double cosphi,
double es)
|
static double |
pj_phi2(double ts,
double e)
determine latitude angle phi-2 |
(package private) double |
pj_qsfn(double sinphi,
double e,
double one_es)
determine small q |
static double |
pj_tsfn(double phi,
double sinphi,
double e)
determine latitude angle phi-2 |
abstract void |
projectBackward(Point inPoint)
Project the data in the reverse direction |
abstract void |
projectForward(Point inPoint)
Project the data in the forward direction |
void |
setEasting(double inEasting)
Set the easting of true oragin for this projection |
void |
setEllipsoid(Ellipsoid inEllipsoid)
Set the ellipsoid used to model the lat long coordinates of the earth |
void |
setEnvelope(Envelope inEnvelope)
set the envelope of the map. |
void |
setLatOragin(double inLatOragin)
Set the latitude location of the true oragin of the map. |
void |
setLonOragin(double inLonOragin)
Set the longatude location of the true oragin of the map. |
void |
setNode(Node inNode)
Setup this projection using the configuration information in the node |
void |
setNorthing(double inNorthing)
Set the northing of true oragin for this projection |
protected void |
setup()
Run setup |
java.lang.String |
toString()
Return the name of the projection |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final double HALFPI
public static final double FORTPI
public static final double PI
public static final double TWOPI
Constructor Detail |
public SimpleProjection()
Method Detail |
public double getLatOragin()
public void setLatOragin(double inLatOragin)
public double getLonOragin()
public void setLonOragin(double inLonOragin)
public double getNorthing()
public void setNorthing(double inNorthing)
public double getEasting()
public void setEasting(double inEasting)
public Ellipsoid getEllipsoid()
getEllipsoid
in interface EllipsoidProjection
public void setEllipsoid(Ellipsoid inEllipsoid)
public java.lang.String getUnitOfMeasure()
getUnitOfMeasure
in interface Projection
public double getESquared()
public double getEccentricity()
protected final void setup() throws java.lang.Exception
java.lang.Exception
protected void doSetup() throws java.lang.Exception
java.lang.Exception
public abstract void projectForward(Point inPoint) throws java.lang.Exception
projectForward
in interface Projection
java.lang.Exception
public abstract void projectBackward(Point inPoint) throws java.lang.Exception
projectBackward
in interface Projection
java.lang.Exception
public abstract java.lang.String getProjectionName()
getProjectionName
in interface Projection
public double hypot(double x, double y)
public static double[] pj_enfn(double inESquared)
public static double pj_tsfn(double phi, double sinphi, double e)
public static double pj_phi2(double ts, double e) throws java.lang.Exception
java.lang.Exception
double pj_msfn(double sinphi, double cosphi, double es)
double pj_qsfn(double sinphi, double e, double one_es)
double aasin(double v) throws java.lang.Exception
java.lang.Exception
double aacos(double v) throws java.lang.Exception
java.lang.Exception
double asqrt(double v)
double aatan2(double n, double d)
public Node getNode()
getNode
in interface Projection
public void setNode(Node inNode) throws java.lang.Exception
setNode
in interface Projection
java.lang.Exception
public java.lang.String toString()
public abstract java.lang.Object clone()
clone
in interface Projection
public void setEnvelope(Envelope inEnvelope) throws java.lang.Exception
setEnvelope
in interface Projection
java.lang.Exception
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |