org.deegree.model.csct.ct
Class ConcatenedTransformDirect2D
java.lang.Object
org.deegree.model.csct.ct.AbstractMathTransform
org.deegree.model.csct.ct.ConcatenedTransform
org.deegree.model.csct.ct.ConcatenedTransformDirect
org.deegree.model.csct.ct.ConcatenedTransformDirect2D
- All Implemented Interfaces:
- Serializable, MathTransform, MathTransform2D
final class ConcatenedTransformDirect2D
- extends ConcatenedTransformDirect
- implements MathTransform2D
Concatened transform where both transforms are two-dimensional.
- Version:
- 1.0
- Author:
- Martin Desruisseaux
ConcatenedTransformDirect2D
public ConcatenedTransformDirect2D(MathTransformFactory provider,
MathTransform2D transform1,
MathTransform2D transform2)
- Construct a concatenated transform.
isValid
protected boolean isValid()
- Check if transforms are compatibles
with this implementation.
- Overrides:
isValid
in class ConcatenedTransformDirect
transform
public Point2D transform(Point2D ptSrc,
Point2D ptDst)
throws TransformException
- Transforms the specified
ptSrc
and stores the result in ptDst
.
- Specified by:
transform
in interface MathTransform2D
- Overrides:
transform
in class AbstractMathTransform
- Parameters:
ptSrc
- the specified coordinate point to be transformed.ptDst
- the specified coordinate point that stores the
result of transforming ptSrc
, or
null
.
- Returns:
- the coordinate point after transforming
ptSrc
and stroring the result in ptDst
.
- Throws:
TransformException
- if the point can't be transformed.- See Also:
MathTransform2D.transform(Point2D,Point2D)
createTransformedShape
public Shape createTransformedShape(Shape shape)
throws TransformException
- Transform the specified shape.
- Specified by:
createTransformedShape
in interface MathTransform2D
- Overrides:
createTransformedShape
in class AbstractMathTransform
- Parameters:
shape
- Shape to transform.
- Returns:
- Transformed shape, or
shape
if
this transform is the identity transform.
- Throws:
TransformException
- if a transform failed.- See Also:
MathTransform2D.createTransformedShape(Shape)
derivative
public Matrix derivative(Point2D point)
throws TransformException
- Gets the derivative of this transform at a point.
- Specified by:
derivative
in interface MathTransform2D
- Overrides:
derivative
in class AbstractMathTransform
- Parameters:
point
- The coordinate point where to evaluate the derivative.
- Returns:
- The derivative at the specified point (never
null
).
- Throws:
TransformException
- if the derivative can't be evaluated at the specified point.- See Also:
MathTransform2D.derivative(Point2D)
an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://deegree.sourceforge.net