|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.deegree.cs.CRSIdentifiable org.deegree.cs.transformations.Transformation org.deegree.cs.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(ICRS source,
IGeocentricCRS target)
|
|
GeocentricTransform(ICRS source,
IGeocentricCRS target,
CRSResource 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.cs.transformations.Transformation |
---|
areInverse, canTransform, contains, copyTransformation, createFromTo, doTransform, doTransform, equalOnCRS, equals, getSourceCRS, getSourceDimension, getTargetCRS, getTargetDimension, getTransformationName, getTransformationPath, isInverseTransform, setSourceCRS |
Methods inherited from class org.deegree.cs.CRSIdentifiable |
---|
addAreaOfUse, addName, checkForNullObject, checkForNullObject, checkForNullObject, getAreaOfUse, getAreaOfUseBBox, getAreasOfUse, getCode, getCodeAndName, getCodes, getDescription, getDescriptions, getId, getName, getNames, getOrignalCodeStrings, getVersion, getVersions, hasCode, hashCode, hasId, hasIdOrName, setDefaultAreaOfUse, setDefaultDescription, setDefaultId, setDefaultName, setDefaultVersion, toString |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public GeocentricTransform(ICRS source, IGeocentricCRS target, CRSResource id)
source
- the geographic crs.target
- the geocentric crs.id
- an identifiable instance containing information about this transformationpublic GeocentricTransform(ICRS source, IGeocentricCRS target)
source
- the geographic crs.target
- the geocentric crs.Method Detail |
---|
public void inverse()
Transformation
inverse
in class Transformation
public List<javax.vecmath.Point3d> doTransform(List<javax.vecmath.Point3d> srcPts)
Transformation
doTransform
in class Transformation
srcPts
- 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)
srcPts
- the points which must be transformed.protected void toGeoCentric(List<javax.vecmath.Point3d> srcPts)
srcPts
- to convert.public boolean isIdentity()
isIdentity
in class Transformation
public final double getSemiMajorAxis()
public final double getSemiMinorAxis()
public String getImplementationName()
getImplementationName
in class Transformation
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |