|
deegree 2.1 (2007/11/08 09:57 build-328-official) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.awt.geom.AffineTransform
org.deegree.model.csct.resources.XAffineTransform
org.deegree.model.csct.ct.AffineTransform2D
final class AffineTransform2D
Transforms two-dimensional coordinate points using an AffineTransform.
| Field Summary |
|---|
| Fields inherited from class java.awt.geom.AffineTransform |
|---|
TYPE_FLIP, TYPE_GENERAL_ROTATION, TYPE_GENERAL_SCALE, TYPE_GENERAL_TRANSFORM, TYPE_IDENTITY, TYPE_MASK_ROTATION, TYPE_MASK_SCALE, TYPE_QUADRANT_ROTATION, TYPE_TRANSLATION, TYPE_UNIFORM_SCALE |
| Constructor Summary | |
|---|---|
protected |
AffineTransform2D(AffineTransform transform)
Construct an affine transform. |
| Method Summary | |
|---|---|
protected void |
checkPermission()
Throws an UnsupportedOperationException when a mutable method
is invoked, since AffineTransform2D must be immutable. |
Matrix |
derivative(CoordinatePoint point)
Gets the derivative of this transform at a point. |
Matrix |
derivative(Point2D point)
Gets the derivative of this transform at a point. |
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. |
String |
toString()
Returns the WKT for this affine transform. |
CoordinatePoint |
transform(CoordinatePoint ptSrc,
CoordinatePoint ptDst)
Transforms the specified ptSrc and stores the result in ptDst. |
| Methods inherited from class org.deegree.model.csct.resources.XAffineTransform |
|---|
concatenate, getScaleInstance, getScaleX0, getScaleY0, inverseDeltaTransform, inverseTransform, preConcatenate, rotate, rotate, round, scale, setToIdentity, setToRotation, setToRotation, setToScale, setToShear, setToTranslation, setTransform, setTransform, shear, transform, translate |
| Methods inherited from class java.awt.geom.AffineTransform |
|---|
clone, createInverse, createTransformedShape, deltaTransform, deltaTransform, equals, getDeterminant, getMatrix, getRotateInstance, getRotateInstance, getScaleInstance, getScaleX, getScaleY, getShearInstance, getShearX, getShearY, getTranslateInstance, getTranslateX, getTranslateY, getType, hashCode, inverseTransform, inverseTransform, isIdentity, transform, transform, transform, transform, transform, transform |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.deegree.model.csct.ct.MathTransform2D |
|---|
createTransformedShape, transform |
| Methods inherited from interface org.deegree.model.csct.ct.MathTransform |
|---|
isIdentity, transform, transform |
| Constructor Detail |
|---|
protected AffineTransform2D(AffineTransform transform)
| Method Detail |
|---|
protected void checkPermission()
UnsupportedOperationException when a mutable method
is invoked, since AffineTransform2D must be immutable.
checkPermission in class XAffineTransformpublic int getDimSource()
getDimSource in interface MathTransformpublic int getDimTarget()
getDimTarget in interface MathTransform
public CoordinatePoint transform(CoordinatePoint ptSrc,
CoordinatePoint ptDst)
ptSrc and stores the result in ptDst.
transform in interface MathTransformptSrc - the specified coordinate point to be transformed.ptDst - the specified coordinate point that stores the result of transforming
ptSrc, or null.
ptSrc and storing the result
in ptDst, or a newly created point if ptDst was null.public Matrix derivative(Point2D point)
derivative in interface MathTransform2Dpoint - The coordinate point where to evaluate the derivative. Null value is
accepted only if the derivative is the same everywhere. For example affine
transform accept null value since they produces identical derivative no
matter the coordinate value. But most map projection will requires a non-null
value.
public Matrix derivative(CoordinatePoint point)
derivative in interface MathTransformpoint - The coordinate point where to evaluate the derivative. Null value is accepted only
if the derivative is the same everywhere. For example affine transform accept null
value since they produces identical derivative no matter the coordinate value. But
most map projection will requires a non-null value.
null). This method never
returns an internal object: changing the matrix will not change the state of this
math transform.
public MathTransform inverse()
throws NoninvertibleTransformException
inverse in interface MathTransformNoninvertibleTransformException - if the transform can't be inversed.public String toString()
toString in class AffineTransform
|
deegree 2.1 (2007/11/08 09:57 build-328-official) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://deegree.sourceforge.net