|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfaa.tg.geometry.MapProjection
faa.tg.geometry.StereoMapProjection
public class StereoMapProjection
Stereographic projection information. Provides xy-coordinate information (for a flat plane) for a point of tangency mapped to the Earth's surface.See the source: StereoMapProjection.java
faa.tg.geometry| Field Summary | |
|---|---|
private double |
conformalLatCos
|
private double |
conformalLatSin
|
static java.lang.String |
CVS_VERSION_ID
The CVS Version ID |
(package private) static double |
D45
|
(package private) static double |
D90
|
static boolean |
DEBUG
|
private Distance |
earthRadiusX2
|
private double |
mapEccDiv2
|
private Coefficient |
mapEccentricity
|
(package private) static double |
PI_DIV_2
|
private static double |
radiansPerDegDiv60
|
static double |
TOLERANCE
|
private Distance |
xOffset
|
private Distance |
yOffset
|
| Fields inherited from class faa.tg.geometry.MapProjection |
|---|
conformalLat, pointOfTangency, pointOfTangencyLatitude |
| Constructor Summary | |
|---|---|
StereoMapProjection(Ellipsoid el,
Position pointOfTangency)
Constructor for stereographic projection information. |
|
StereoMapProjection(Ellipsoid el,
Position pointOfTangency,
Distance xOffset,
Distance yOffset)
Constructor for stereographic projection information |
|
StereoMapProjection(PointOfTangencyData potData)
Constructor for stereographic projection information using a PointOfTangencyData object and the default WGS84 ellipsoid. |
|
StereoMapProjection(Position pointOfTangency)
Constructor for stereographic projection information using center point offsets of zero and the default WGS84 ellipsoid. |
|
StereoMapProjection(Position pointOfTangency,
Coordinate offset)
|
|
StereoMapProjection(Position pointOfTangency,
Distance xOffset,
Distance yOffset)
Constructor for stereographic projection information using the default WGS84 ellipsoid. |
|
| Method Summary | |
|---|---|
Latitude |
calcConformalLat(Position pos)
Calculates and returns the conformal latitude. |
private double |
conformalToGeoLat(double confLat)
Convert conformal latitude to geodedic latitude. |
Distance |
getEarthRadiusX2()
|
Latitude |
getLatitude()
|
Longitude |
getLongitude()
|
Coefficient |
getMapEccentricity()
|
PointOfTangencyData |
getPointOfTangencyData()
Creates a PointOfTangencyData object from the map projection fields. |
Distance |
getXOffset()
|
Distance |
getYOffset()
|
java.awt.geom.Point2D.Double |
latLonToXY(Position pos,
DistanceUnits du)
Converts a Position and a distance unit to xy coordinates. |
Coordinate |
latLonToXYCoordinate(Position pos)
Converts a Position and a distance unit to Coordinate object. |
static void |
main(java.lang.String[] args)
|
java.lang.String |
toDraText()
Return the stereographic projection point information as a String. |
java.lang.String |
toString()
Return the stereographic projection point information in a short, descriptive String. |
private Position |
xyToLatLonStd(Distance xCoord,
Distance yCoord,
Altitude alt)
Convert x/y to lat/lon - based on CMS CNVRT EXEC and comfirmed against code in NAS source module SCX task SCXE. |
Position |
xyToPosition(Coordinate coord,
Altitude altitude)
Converts xy coordinates to latitude/longitude delagating to xyToPosition(Coordinate coordinate, Altitude altitude). |
Position |
xyToPosition(Distance xCoord,
Distance yCoord,
Altitude alt)
Converts xy coordinates to latitude/longitude using a locally developed approximation method. |
| Methods inherited from class faa.tg.geometry.MapProjection |
|---|
getConformalLat, getPointOfTangency, getPointOfTangencyLatitude |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String CVS_VERSION_ID
public static final boolean DEBUG
public static final double TOLERANCE
private Coefficient mapEccentricity
private double mapEccDiv2
private Distance earthRadiusX2
private Distance xOffset
private Distance yOffset
static double D45
static double D90
private final double conformalLatSin
private final double conformalLatCos
static final double PI_DIV_2
private static final transient double radiansPerDegDiv60
| Constructor Detail |
|---|
public StereoMapProjection(Ellipsoid el,
Position pointOfTangency)
el - The WGS84_Ellipsoid for this stereographic map projection.pointOfTangency - The point of tangency for this stereo projection.
public StereoMapProjection(Ellipsoid el,
Position pointOfTangency,
Distance xOffset,
Distance yOffset)
el - The Ellipsoid for this stereographic map projection.pointOfTangency - The point of tangency for this stereo projection.xOffset - The x-coord offset of the Position from projection origin.yOffset - The y-coord offset of the Position from projection origin.
public StereoMapProjection(Position pointOfTangency,
Coordinate offset)
public StereoMapProjection(Position pointOfTangency,
Distance xOffset,
Distance yOffset)
pointOfTangency - The point of tangency for this stereo projection.xOffset - The x-coord offset of the Position from projection origin.yOffset - The y-coord offset of the Position from projection origin.public StereoMapProjection(Position pointOfTangency)
pointOfTangency - The point of tangency for this stereo projection.public StereoMapProjection(PointOfTangencyData potData)
potData - PointOfTangencyData for this stereo projection.| Method Detail |
|---|
public PointOfTangencyData getPointOfTangencyData()
public Latitude calcConformalLat(Position pos)
public Latitude getLatitude()
public Longitude getLongitude()
public Distance getXOffset()
public Distance getYOffset()
public Coordinate latLonToXYCoordinate(Position pos)
latLonToXYCoordinate in interface Locale
public java.awt.geom.Point2D.Double latLonToXY(Position pos,
DistanceUnits du)
latLonToXY in class MapProjectionpublic Coefficient getMapEccentricity()
public Distance getEarthRadiusX2()
getEarthRadiusX2 in class MapProjection
public Position xyToPosition(Coordinate coord,
Altitude altitude)
xyToPosition in interface Localecoord - Coordinate to get the Position for.altitude - Altitude of the Position.
public Position xyToPosition(Distance xCoord,
Distance yCoord,
Altitude alt)
xyToPosition in interface LocalexyToPosition in class MapProjectionxCoord - X-coordinate to get the Position for.yCoord - Y-coordinate to get the Position for.alt - Altitude of the Position.
private Position xyToLatLonStd(Distance xCoord,
Distance yCoord,
Altitude alt)
xCoord - X-coordinate to get the Position for.yCoord - Y-coordinate to get the Position for.alt - Altitude of the Position.
private double conformalToGeoLat(double confLat)
confLat - The conformal latitude in radians.public java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.String toDraText()
public static void main(java.lang.String[] args)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||