|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Transforms multi-dimensional coordinate points.
If a client application wishes to query the source and target
coordinate systems of a transformation, then it should keep hold
of the CT_CoordinateTransformation
interface, and use the
contained math transform object whenever it wishes to perform a transform.
Method Summary | |
PT_Matrix |
derivative(PT_CoordinatePoint cp)
Gets the derivative of this transform at a point. |
double[] |
getCodomainConvexHull(double[] ord)
Gets transformed convex hull. |
int |
getDimSource()
Gets the dimension of input points. |
int |
getDimTarget()
Gets the dimension of output points. |
CT_DomainFlags |
getDomainFlags(double[] ord)
Gets flags classifying domain points within a convex hull. |
java.lang.String |
getWKT()
Gets a Well-Known text representation of this object. |
java.lang.String |
getXML()
Gets an XML representation of this object. |
CT_MathTransform |
inverse()
Creates the inverse transform of this object. |
boolean |
isIdentity()
Tests whether this transform does not move any points. |
PT_CoordinatePoint |
transform(PT_CoordinatePoint cp)
Transforms a coordinate point. |
double[] |
transformList(double[] ord)
Transforms a list of coordinate point ordinal values. |
Method Detail |
public CT_DomainFlags getDomainFlags(double[] ord) throws java.rmi.RemoteException
ord
- Packed ordinates of points used to generate convex hull.
java.rmi.RemoteException
- if a remote method call failed.public double[] getCodomainConvexHull(double[] ord) throws java.rmi.RemoteException
ord
- Packed ordinates of points used to generate convex hull.
java.rmi.RemoteException
- if a remote method call failed.public java.lang.String getWKT() throws java.rmi.RemoteException
java.rmi.RemoteException
- if a remote method call failed.public java.lang.String getXML() throws java.rmi.RemoteException
java.rmi.RemoteException
- if a remote method call failed.public PT_CoordinatePoint transform(PT_CoordinatePoint cp) throws java.rmi.RemoteException
cp
- Point to transform.
java.rmi.RemoteException
- if a remote method call failed.public double[] transformList(double[] ord) throws java.rmi.RemoteException
DimSource
.
The returned ordinal values are packed in a similar way.
In some DCPs. the ordinals may be transformed in-place, and the
returned array may be the same as the passed array.
So any client code should not attempt to reuse the passed ordinal
values (although they can certainly reuse the passed array).
If there is any problem then the server implementation will throw an
exception. If this happens then the client should not make any
assumptions about the state of the ordinal values.
ord
- Packed ordinates of points to transform.
ord
.
java.rmi.RemoteException
- if a remote method call failed.public PT_Matrix derivative(PT_CoordinatePoint cp) throws java.rmi.RemoteException
{elt[n][m] : n=0..(N-1)}
form a vector in the
output space which is parallel to the displacement caused by a small
change in the m'th ordinate in the input space.
cp
- Point in domain at which to get derivative.
java.rmi.RemoteException
- if a remote method call failed.public CT_MathTransform inverse() throws java.rmi.RemoteException
java.rmi.RemoteException
- if a remote method call failed.public int getDimSource() throws java.rmi.RemoteException
java.rmi.RemoteException
- if a remote method call failed.public int getDimTarget() throws java.rmi.RemoteException
java.rmi.RemoteException
- if a remote method call failed.public boolean isIdentity() throws java.rmi.RemoteException
true
if this MathTransform
is
an identity transform; false
otherwise.
java.rmi.RemoteException
- if a remote method call failed.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |