|
|||||||||||
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
org.deegree_impl.model.ct.ConcatenedTransformDirect
org.deegree_impl.model.ct.ConcatenedTransformDirect2D
Concatened transform where both transforms are two-dimensional.
Nested Class Summary |
Nested classes inherited from class org.deegree_impl.model.ct.AbstractMathTransform |
AbstractMathTransform.Inverse |
Field Summary | |
private static long |
serialVersionUID
Serial number for interoperability with different versions. |
private MathTransform2D |
transform1
The first math transform. |
private MathTransform2D |
transform2
The second math transform. |
Constructor Summary | |
ConcatenedTransformDirect2D(MathTransformFactory provider,
MathTransform2D transform1,
MathTransform2D transform2)
Construct a concatenated transform. |
Method Summary | |
java.awt.Shape |
createTransformedShape(java.awt.Shape shape)
Transform the specified shape. |
Matrix |
derivative(CoordinatePoint point)
Gets the derivative of this transform at a point. |
Matrix |
derivative(java.awt.geom.Point2D 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. |
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 with this implementation. |
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. |
java.awt.geom.Point2D |
transform(java.awt.geom.Point2D ptSrc,
java.awt.geom.Point2D ptDst)
Transforms the specified ptSrc
and stores the result in ptDst . |
Methods inherited from class org.deegree_impl.model.ct.AbstractMathTransform |
addParameter, addParameter, createTransformedShape, getName, paramMT, toOpenGIS |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.deegree_impl.model.ct.MathTransform |
derivative, getDimSource, getDimTarget, inverse, isIdentity, transform, transform, transform |
Field Detail |
private static final long serialVersionUID
private final MathTransform2D transform1
ConcatenedTransform.transform1
. Only
the type is different.
private final MathTransform2D transform2
ConcatenedTransform.transform1
. Only
the type is different.
Constructor Detail |
public ConcatenedTransformDirect2D(MathTransformFactory provider, MathTransform2D transform1, MathTransform2D transform2)
Method Detail |
protected boolean isValid()
isValid
in class ConcatenedTransformDirect
public java.awt.geom.Point2D transform(java.awt.geom.Point2D ptSrc, java.awt.geom.Point2D ptDst) throws TransformException
ptSrc
and stores the result in ptDst
.
transform
in interface MathTransform2D
transform
in class AbstractMathTransform
ptSrc
- the specified coordinate point to be transformed.ptDst
- the specified coordinate point that stores the
result of transforming ptSrc
, or
null
.
ptSrc
and stroring the result in ptDst
.
TransformException
- if the point can't be transformed.MathTransform2D.transform(Point2D,Point2D)
public java.awt.Shape createTransformedShape(java.awt.Shape shape) throws TransformException
createTransformedShape
in interface MathTransform2D
createTransformedShape
in class AbstractMathTransform
shape
- Shape to transform.
shape
if
this transform is the identity transform.
TransformException
- if a transform failed.MathTransform2D.createTransformedShape(Shape)
public Matrix derivative(java.awt.geom.Point2D point) throws TransformException
derivative
in interface MathTransform2D
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.MathTransform2D.derivative(Point2D)
public CoordinatePoint transform(CoordinatePoint ptSrc, CoordinatePoint ptDst) throws TransformException
ptSrc
and stores the result in ptDst
.
transform
in interface MathTransform
transform
in class ConcatenedTransform
TransformException
public void transform(double[] srcPts, int srcOff, double[] dstPts, int dstOff, int numPts) throws TransformException
transform
in interface MathTransform
transform
in class ConcatenedTransform
TransformException
public void transform(float[] srcPts, int srcOff, float[] dstPts, int dstOff, int numPts) throws TransformException
transform
in interface MathTransform
transform
in class ConcatenedTransform
TransformException
public final int getDimSource()
getDimSource
in interface MathTransform
CT_MathTransform.getDimSource()
public final int getDimTarget()
getDimTarget
in interface MathTransform
CT_MathTransform.getDimTarget()
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
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |