Package org.geolatte.geom.crs.trans
Class PositionVectorTransformation
- java.lang.Object
-
- org.geolatte.geom.crs.trans.PositionVectorTransformation
-
- All Implemented Interfaces:
CoordinateOperation,WithEpsgGOperationMethod
public class PositionVectorTransformation extends Object implements CoordinateOperation, WithEpsgGOperationMethod
The Position Vector transformation ( a 7-parameter Helmert Transformation in the geocentric domain). This implements the EPSG 1033 method It is used to perform the TOWGS84 transforms. Created by Karel Maesen, Geovise BVBA on 21/07/17.
-
-
Constructor Summary
Constructors Constructor Description PositionVectorTransformation(double tx, double ty, double tz, double rx, double ry, double rz, double ds)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidforward(double[] inCoordinate, double[] outCoordinate)static PositionVectorTransformationfromTOWGS84(double[] params)intgetMethodId()Returns the EPSG code for the operation methodintinCoordinateDimension()booleanisReversible()intoutCoordinateDimension()voidreverse(double[] inCoordinate, double[] outCoordinate)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.geolatte.geom.crs.trans.CoordinateOperation
appendForward, appendReverse, reversed
-
-
-
-
Constructor Detail
-
PositionVectorTransformation
public PositionVectorTransformation(double tx, double ty, double tz, double rx, double ry, double rz, double ds)- Parameters:
tx- X-axis translation in metersty- Y-axis translation in meterstz- Z-axis translation in meters*rx- X-axis rotation in arc-secondsry- Y-azis rotation in arc-secondsrz- Z-azis rotation in arc-secondsds- scale correction in parts per million (ppm)
-
-
Method Detail
-
fromTOWGS84
public static PositionVectorTransformation fromTOWGS84(double[] params)
-
isReversible
public boolean isReversible()
- Specified by:
isReversiblein interfaceCoordinateOperation
-
inCoordinateDimension
public int inCoordinateDimension()
- Specified by:
inCoordinateDimensionin interfaceCoordinateOperation
-
outCoordinateDimension
public int outCoordinateDimension()
- Specified by:
outCoordinateDimensionin interfaceCoordinateOperation
-
forward
public void forward(double[] inCoordinate, double[] outCoordinate)- Specified by:
forwardin interfaceCoordinateOperation
-
reverse
public void reverse(double[] inCoordinate, double[] outCoordinate)- Specified by:
reversein interfaceCoordinateOperation
-
getMethodId
public int getMethodId()
Description copied from interface:WithEpsgGOperationMethodReturns the EPSG code for the operation method- Specified by:
getMethodIdin interfaceWithEpsgGOperationMethod- Returns:
- The EPSG Code for the operation method
-
-