org.deegree_impl.model.ct
Class GeocentricTransform.Inverse
java.lang.Object
org.deegree_impl.model.ct.AbstractMathTransform
org.deegree_impl.model.ct.AbstractMathTransform.Inverse
org.deegree_impl.model.ct.GeocentricTransform.Inverse
- All Implemented Interfaces:
- MathTransform
- Enclosing class:
- GeocentricTransform
- private final class GeocentricTransform.Inverse
- extends AbstractMathTransform.Inverse
Inverse of a geocentric transform.
- Version:
- 1.0
- Author:
- Martin Desruisseaux
Method Summary |
java.lang.String |
toString()
Returns the Well Know Text (WKT)
for this inverse math transform. |
void |
transform(double[] source,
int srcOffset,
double[] dest,
int dstOffset,
int length)
Transforms a list of coordinate point ordinal values.
|
void |
transform(float[] source,
int srcOffset,
float[] dest,
int dstOffset,
int length)
Transforms a list of coordinate point ordinal values. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
GeocentricTransform.Inverse
public GeocentricTransform.Inverse()
transform
public void transform(double[] source,
int srcOffset,
double[] dest,
int dstOffset,
int length)
throws TransformException
- Description copied from interface:
MathTransform
- Transforms a list of coordinate point ordinal values.
This method is provided for efficiently transforming many points.
The supplied array of ordinal values will contain packed ordinal
values. For example, if the source dimension is 3, then the ordinals
will be packed in this order:
(x0,y0,z0,
x1,y1,z1 ...).
The size of the passed array must be an integer multiple of
MathTransform.getDimSource()
.
- Parameters:
source
- the array containing the source point coordinates.srcOffset
- the offset to the first point to be transformed
in the source array.dest
- the array into which the transformed point
coordinates are returned. May be the same
than srcPts
.dstOffset
- the offset to the location of the first
transformed point that is stored in the
destination array.length
- the number of point objects to be transformed.
- Throws:
TransformException
- if a point can't be transformed.
transform
public void transform(float[] source,
int srcOffset,
float[] dest,
int dstOffset,
int length)
throws TransformException
- Description copied from class:
AbstractMathTransform
- Transforms a list of coordinate point ordinal values. The default implementation
invokes
MathTransform.transform(double[],int,double[],int,int)
using a temporary array
of doubles.
- Specified by:
transform
in interface MathTransform
- Overrides:
transform
in class AbstractMathTransform
- Throws:
TransformException
toString
public final java.lang.String toString()
- Description copied from class:
AbstractMathTransform.Inverse
- Returns the Well Know Text (WKT)
for this inverse math transform.
- Overrides:
toString
in class AbstractMathTransform.Inverse