|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.deegree_impl.model.ct.AbstractMathTransform
org.deegree_impl.model.ct.MathTransformAdapter
Wrap an CT_MathTransform into a MathTransform.
This class is provided for compatibility with OpenGIS. It is
serializable if the underlying CT_MathTransform is
serializable too.
| Nested Class Summary |
| Nested classes inherited from class org.deegree_impl.model.ct.AbstractMathTransform |
AbstractMathTransform.Inverse |
| Field Summary | |
private int |
dimSource
Dimension of output points. |
private int |
dimTarget
Dimension of input points. |
protected MathTransformAdapter |
inverse
The inverse transform. |
private boolean |
isIdentity
true if this transform does not move any points. |
private static long |
serialVersionUID
Serial number for interoperability with different versions. |
protected CT_MathTransform |
transform
The OpenGIS math transform. |
| Constructor Summary | |
MathTransformAdapter(CT_MathTransform transform)
Construct an adapter. |
|
| Method Summary | |
Matrix |
derivative(CoordinatePoint point)
Gets the derivative of this transform at a point. |
boolean |
equals(java.lang.Object object)
Compares the specified object with this math transform for equality. |
int |
getDimSource()
Gets the dimension of input points. |
int |
getDimTarget()
Gets the dimension of output points. |
MathTransform |
inverse()
Creates the inverse transform of this object. |
boolean |
isIdentity()
Tests whether this transform does not move any points. |
(package private) java.lang.Object |
toOpenGIS(java.lang.Object adapters)
Returns the underlying OpenGIS interface. |
void |
transform(double[] srcPts,
int srcOff,
double[] dstPts,
int dstOff,
int numPts)
Transforms a list of coordinate point ordinal values. |
void |
transform(float[] srcPts,
int srcOff,
float[] dstPts,
int dstOff,
int numPts)
Transforms a list of coordinate point ordinal values. |
| Methods inherited from class org.deegree_impl.model.ct.AbstractMathTransform |
addParameter, addParameter, createTransformedShape, createTransformedShape, derivative, getName, hashCode, paramMT, toString, transform, transform |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
private static final long serialVersionUID
protected final CT_MathTransform transform
private final int dimSource
private final int dimTarget
private final boolean isIdentity
true if this transform does not move any points.
protected transient MathTransformAdapter inverse
| Constructor Detail |
public MathTransformAdapter(CT_MathTransform transform)
throws java.rmi.RemoteException
java.rmi.RemoteException - if a remote call failed.| Method Detail |
public final void transform(double[] srcPts,
int srcOff,
double[] dstPts,
int dstOff,
int numPts)
throws TransformException
transform in interface MathTransformsrcPts - the array containing the source point coordinates.srcOff - the offset to the first point to be transformed
in the source array.dstPts - the array into which the transformed point
coordinates are returned. May be the same
than srcPts.dstOff - the offset to the location of the first
transformed point that is stored in the
destination array.numPts - the number of point objects to be transformed.
TransformException - if the points can't be
transformed, or if a remote call failed.
public final void transform(float[] srcPts,
int srcOff,
float[] dstPts,
int dstOff,
int numPts)
throws TransformException
transform in interface MathTransformtransform in class AbstractMathTransformTransformException - if the points can't be
transformed, or if a remote call failed.
public Matrix derivative(CoordinatePoint point)
throws TransformException
derivative in interface MathTransformderivative in class AbstractMathTransformpoint - The coordinate point where to evaluate the derivative.
null).
TransformException - if the derivative can't be evaluated at the specified point.
public MathTransform inverse()
throws NoninvertibleTransformException
inverse in interface MathTransforminverse in class AbstractMathTransformNoninvertibleTransformException - if the inverse transform
can't be created, or if a remote call failed.public final int getDimSource()
getDimSource in interface MathTransformCT_MathTransform.getDimSource()public final int getDimTarget()
getDimTarget in interface MathTransformCT_MathTransform.getDimTarget()public final boolean isIdentity()
isIdentity in interface MathTransformtrue if this MathTransform is
an identity transform; false otherwise.final java.lang.Object toOpenGIS(java.lang.Object adapters)
toOpenGIS in class AbstractMathTransformpublic final boolean equals(java.lang.Object object)
equals in class AbstractMathTransform
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||