|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfaa.tg.geometry.OptimizedStereoMapProjection
public class OptimizedStereoMapProjection
This is a specialized map projection tied to the WGS84 Earth Model and optimized for speed.See the source: OptimizedStereoMapProjection.java
| Field Summary | |
|---|---|
private static double |
A
|
private double |
a0
|
private static double |
Ap
|
private double |
b
|
private static double |
B
|
private static double |
Bp
|
private static double |
C
|
private double |
cos_a0
|
private double |
cos_X1
|
private static double |
Cp
|
private static double |
D
|
private static double |
Dp
|
private static double |
e
|
private static double |
e_2
|
private static double |
e_4
|
private static double |
e_6
|
private static double |
e_8
|
private static double |
eDiv2
|
private static double |
PI_2
|
private static double |
PI_4
|
private static double |
semiMajorAxis
|
private double |
sin_a0
|
private double |
sin_X1
|
| Constructor Summary | |
|---|---|
OptimizedStereoMapProjection(Position pointOfTangency)
Creates a stereographic projection based on the given point of tangency. |
|
| Method Summary | |
|---|---|
private double |
convertFromConformalLat(double X)
|
private double |
convertToConformalLat(double phi)
|
Coordinate |
latLonToXYCoordinate(Position pos)
Converts a Position and a distance unit to Coordinate object. |
Position |
xyToPosition(Coordinate coord,
Altitude altitude)
Converts xy coordinates to latitude/longitude delagating to xyToPosition(Coordinate coordinate, Altitude altitude). |
Position |
xyToPosition(Distance coord,
Distance coord2,
Altitude alt)
Converts x-y coordinates to latitude/longitude. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private final double cos_X1
private final double sin_X1
private final double cos_a0
private final double sin_a0
private final double a0
private final double b
private static final double e
private static final double eDiv2
private static final double e_2
private static final double e_4
private static final double e_6
private static final double e_8
private static final double semiMajorAxis
private static final double PI_2
private static final double PI_4
private static final double A
private static final double B
private static final double C
private static final double D
private static final double Ap
private static final double Bp
private static final double Cp
private static final double Dp
| Constructor Detail |
|---|
public OptimizedStereoMapProjection(Position pointOfTangency)
pointOfTangency - the origin of the stereographic projection. If
a pole is used (latitude equal to plus or minus
90 degrees), the calculations will fail due to
division by zero.| Method Detail |
|---|
private double convertToConformalLat(double phi)
private double convertFromConformalLat(double X)
public Coordinate latLonToXYCoordinate(Position pos)
Locale
latLonToXYCoordinate in interface Locale
public Position xyToPosition(Coordinate coord,
Altitude altitude)
Locale
xyToPosition in interface Localecoord - Coordinate to get the Position for.altitude - Altitude of the Position.
public Position xyToPosition(Distance coord,
Distance coord2,
Altitude alt)
Locale
xyToPosition in interface Localecoord - X-coordinate to get the Position for.coord2 - Y-coordinate to get the Position for.alt - Altitude of the Position.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||