com.partnersoft.geometry.projection
Class ProjectionLib
java.lang.Object
com.partnersoft.geometry.projection.ProjectionLib
- All Implemented Interfaces:
- ProjectionConstants
public class ProjectionLib
- extends java.lang.Object
- implements ProjectionConstants
Some standard functions, mostly duly ported from PROJ source.
- Author:
- Paul Reavis Copyright 2004 Partner Software, Inc.
| Fields inherited from interface com.partnersoft.geometry.projection.ProjectionConstants |
ATOL, DEG2RAD, EPSILON, FOURTHPI, HALFPI, INTERNATIONAL_FEET_TO_METERS, METERS_TO_INTERNATIONAL_FEET, NULL_PROJECTION, ONE_TOL, PI, RAD2DEG, TOL, TWOPI, US_SURVEY_FEET_TO_METERS |
|
Method Summary |
static double |
aacos(double v)
|
static double |
aasin(double v)
|
static double |
aatan2(double n,
double d)
|
static double |
asqrt(double v)
|
static double |
hypot(double x,
double y)
Returns the hypotenuse of a right triangle with sides length x and y. |
static double[] |
pj_enfn(double inESquared)
|
static double |
pj_msfn(double sinphi,
double cosphi,
double es)
|
static double |
pj_phi2(double ts,
double e)
|
static double |
pj_qsfn(double sinphi,
double e,
double one_es)
|
static double |
pj_tsfn(double phi,
double sinphi,
double e)
|
static double |
toDegrees(double radians)
|
static double |
toRadians(double degrees)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
METERS_TO_US_SURVEY_FEET
public static final double METERS_TO_US_SURVEY_FEET
- See Also:
- Constant Field Values
METERS_TO_STANDARD_FEET
public static final double METERS_TO_STANDARD_FEET
- See Also:
- Constant Field Values
ProjectionLib
public ProjectionLib()
hypot
public static double hypot(double x,
double y)
- Returns the hypotenuse of a right triangle with sides length x and y.
Remember 4th grade geometry?
pj_enfn
public static double[] pj_enfn(double inESquared)
pj_tsfn
public static double pj_tsfn(double phi,
double sinphi,
double e)
pj_phi2
public static double pj_phi2(double ts,
double e)
throws java.lang.Exception
- Throws:
java.lang.Exception
pj_msfn
public static double pj_msfn(double sinphi,
double cosphi,
double es)
pj_qsfn
public static double pj_qsfn(double sinphi,
double e,
double one_es)
aasin
public static double aasin(double v)
aacos
public static double aacos(double v)
asqrt
public static double asqrt(double v)
aatan2
public static double aatan2(double n,
double d)
toRadians
public static double toRadians(double degrees)
toDegrees
public static double toDegrees(double radians)