org.deegree.crs.transformations
Class ProjectionTransform
java.lang.Object
org.deegree.crs.Identifiable
org.deegree.crs.transformations.CRSTransformation
org.deegree.crs.transformations.ProjectionTransform
public class ProjectionTransform
- extends CRSTransformation
The ProjectionTransform
class wraps the access to a projection, by calling it's doProjection.
- Version:
- $Revision:$, $Date:$
- Author:
- Rutger Bezema, last edited by: $Author:$
Method Summary |
List<javax.vecmath.Point3d> |
doTransform(List<javax.vecmath.Point3d> srcPts)
Do a transformation, e.g. the incoming data comes from the sourceCRS and must be transformed to the targetCRS. |
boolean |
isIdentity()
|
String |
toString()
|
Methods inherited from class org.deegree.crs.transformations.CRSTransformation |
areInverse, createFromTo, doTransform, doTransform, getSourceCRS, getSourceDimension, getTargetCRS, getTargetDimension, getTransformationName, getTransformationPath, inverse, isInverseTransform |
Methods inherited from class org.deegree.crs.Identifiable |
checkForNullObject, checkForNullObject, getAreaOfUse, getAreasOfUse, getDescription, getDescriptions, getIdAndName, getIdentifier, getIdentifiers, getName, getNames, getVersion, getVersions |
ProjectionTransform
public ProjectionTransform(ProjectedCRS projectedCRS,
String identifier,
String version,
String description,
String areaOfUse)
- Parameters:
projectedCRS
- The crs containing a projection.identifier
- version
- description
- areaOfUse
-
ProjectionTransform
public ProjectionTransform(ProjectedCRS projectedCRS,
String identifier)
- Parameters:
projectedCRS
- The crs containing a projection.identifier
-
ProjectionTransform
public ProjectionTransform(ProjectedCRS projectedCRS)
- A projectiontransform with an id set to FROM_geoID_TO_projId
- Parameters:
projectedCRS
- The crs containing a projection.
doTransform
public List<javax.vecmath.Point3d> doTransform(List<javax.vecmath.Point3d> srcPts)
- Description copied from class:
CRSTransformation
- Do a transformation, e.g. the incoming data comes from the sourceCRS and must be transformed to the targetCRS.
- Specified by:
doTransform
in class CRSTransformation
- Parameters:
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
- Returns:
- the transformed points
isIdentity
public boolean isIdentity()
- Specified by:
isIdentity
in class CRSTransformation
- Returns:
- true if this transformation doesn't transform the incoming points. (e.g. is the id. matrix)
toString
public String toString()
- Overrides:
toString
in class Identifiable
an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://deegree.sourceforge.net