|
|||||||||||
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.ConcatenedTransform
Base class for concatened transform. Concatened transforms are serializable if all their step transforms are serializables.
Nested Class Summary |
Nested classes inherited from class org.deegree_impl.model.ct.AbstractMathTransform |
AbstractMathTransform.Inverse |
Field Summary | |
private MathTransform |
inverse
The inverse transform. |
private MathTransformFactory |
provider
The math transform factory that created this concatened transform. |
private static long |
serialVersionUID
Serial number for interoperability with different versions. |
protected MathTransform |
transform1
The first math transform. |
protected MathTransform |
transform2
The second math transform. |
Constructor Summary | |
ConcatenedTransform(MathTransformFactory provider,
MathTransform transform1,
MathTransform transform2)
Construct a concatenated transform. |
Method Summary | |
private static void |
addWKT(java.lang.StringBuffer buffer,
MathTransform transform,
boolean first)
Append to a string buffer the WKT for the specified math transform. |
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. |
private static java.lang.String |
getName(MathTransform transform)
Returns a name for the specified coordinate system. |
int |
hashCode()
Returns a hash value for this transform. |
MathTransform |
inverse()
Creates the inverse transform of this object. |
boolean |
isIdentity()
Tests whether this transform does not move any points. |
protected boolean |
isValid()
Check if transforms are compatibles. |
java.lang.String |
toString()
Returns the WKT for this math transform. |
CoordinatePoint |
transform(CoordinatePoint ptSrc,
CoordinatePoint ptDst)
Transforms the specified ptSrc and stores the result in ptDst . |
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, paramMT, toOpenGIS, transform |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
private static final long serialVersionUID
private MathTransformFactory provider
protected final MathTransform transform1
protected final MathTransform transform2
private transient MathTransform inverse
Constructor Detail |
public ConcatenedTransform(MathTransformFactory provider, MathTransform transform1, MathTransform transform2)
Method Detail |
private static final java.lang.String getName(MathTransform transform)
protected boolean isValid()
public final int getDimSource()
getDimSource
in interface MathTransform
CT_MathTransform.getDimSource()
public final int getDimTarget()
getDimTarget
in interface MathTransform
CT_MathTransform.getDimTarget()
public CoordinatePoint transform(CoordinatePoint ptSrc, CoordinatePoint ptDst) throws TransformException
ptSrc
and stores the result in ptDst
.
transform
in interface MathTransform
transform
in class AbstractMathTransform
TransformException
public void transform(double[] srcPts, int srcOff, double[] dstPts, int dstOff, int numPts) throws TransformException
transform
in interface MathTransform
srcPts
- 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 a point can't be transformed.public void transform(float[] srcPts, int srcOff, float[] dstPts, int dstOff, int numPts) throws TransformException
transform
in interface MathTransform
transform
in class AbstractMathTransform
TransformException
public final MathTransform inverse() throws NoninvertibleTransformException
inverse
in interface MathTransform
inverse
in class AbstractMathTransform
NoninvertibleTransformException
public Matrix derivative(CoordinatePoint point) throws TransformException
derivative
in interface MathTransform
derivative
in class AbstractMathTransform
point
- The coordinate point where to evaluate the derivative.
null
).
TransformException
- if the derivative can't be evaluated at the specified point.public final boolean isIdentity()
isIdentity
in interface MathTransform
true
if this MathTransform
is
an identity transform; false
otherwise.public final int hashCode()
hashCode
in class AbstractMathTransform
public final boolean equals(java.lang.Object object)
equals
in class AbstractMathTransform
public final java.lang.String toString()
toString
in class AbstractMathTransform
private static void addWKT(java.lang.StringBuffer buffer, MathTransform transform, boolean first)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |