| 
deegree 2.6-pre (2011/11/29 00:10 build-378-unofficial) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.deegree.crs.Identifiable
org.deegree.crs.transformations.Transformation
org.deegree.crs.transformations.coordinate.CRSTransformation
org.deegree.crs.transformations.coordinate.GeocentricTransform
public class GeocentricTransform
The GeocentricTransform class is used to create a transformation between a geocentric CRS (having
 lat-lon coordinates) and it's geodetic CRS (having x-y-z) coordinates and vice versa.
| Constructor Summary | |
|---|---|
GeocentricTransform(CoordinateSystem source,
                                       GeocentricCRS target)
 | 
|
GeocentricTransform(CoordinateSystem source,
                                       GeocentricCRS target,
                                       Identifiable id)
 | 
|
| Method Summary | |
|---|---|
 List<javax.vecmath.Point3d> | 
doTransform(List<javax.vecmath.Point3d> srcPts)
Do a transformation, e.g. the incoming data will be transformed into other coordinates.  | 
 String | 
getImplementationName()
 | 
 double | 
getSemiMajorAxis()
 | 
 double | 
getSemiMinorAxis()
 | 
 void | 
inverse()
This method flags the transformation about it's state.  | 
 boolean | 
isIdentity()
 | 
protected  void | 
toGeoCentric(List<javax.vecmath.Point3d> srcPts)
Converts geographic (longitude, latitude, height) to cartesian (x,y,z) coordinates.  | 
protected  void | 
toGeographic(List<javax.vecmath.Point3d> srcPts)
Converts geocentric coordinates (x, y, z) to geodetic coordinates (longitude, latitude, height), according to the current ellipsoid parameters.  | 
| Methods inherited from class org.deegree.crs.transformations.Transformation | 
|---|
areInverse, createFromTo, doTransform, doTransform, getSourceCRS, getSourceDimension, getTargetCRS, getTargetDimension, getTransformationName, getTransformationPath, isInverseTransform, setSourceCRS | 
| Methods inherited from class org.deegree.crs.Identifiable | 
|---|
checkForNullObject, checkForNullObject, checkForNullObject, equals, getAreaOfUse, getAreaOfUseBBox, getAreasOfUse, getDescription, getDescriptions, getIdAndName, getIdentifier, getIdentifiers, getName, getNames, getVersion, getVersions, hasID, toString | 
| Methods inherited from class java.lang.Object | 
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
| Constructor Detail | 
|---|
public GeocentricTransform(CoordinateSystem source,
                           GeocentricCRS target,
                           Identifiable id)
source - the geographic crs.target - the geocentric crs.id - an identifiable instance containing information about this transformation
public GeocentricTransform(CoordinateSystem source,
                           GeocentricCRS target)
source - the geographic crs.target - the geocentric crs.| Method Detail | 
|---|
public void inverse()
Transformation
inverse in class Transformationpublic List<javax.vecmath.Point3d> doTransform(List<javax.vecmath.Point3d> srcPts)
Transformation
doTransform in class TransformationsrcPts - the points which must be transformed, expected are following values either, long_1, lat_1, height_1,
            long_2, lat_2, height_2. or long_1, lat_1, long_2, lat_2
protected void toGeographic(List<javax.vecmath.Point3d> srcPts)
The method used here is derived from "An Improved Algorithm for Geocentric to Geodetic Coordinate Conversion", by Ralph Toms, Feb 1996 UCRL-JC-123138.
srcPts - the points which must be transformed.protected void toGeoCentric(List<javax.vecmath.Point3d> srcPts)
srcPts - to convert.public boolean isIdentity()
isIdentity in class Transformationpublic final double getSemiMajorAxis()
public final double getSemiMinorAxis()
public String getImplementationName()
getImplementationName in class Transformation
  | 
deegree 2.6-pre (2011/11/29 00:10 build-378-unofficial) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
an open source project founded by lat/lon, Bonn, Germany.
                    For more information visit: http://www.deegree.org