|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.rmi.server.RemoteObject
org.deegree_impl.model.ct.MathTransformExport
Wrap a MathTransform
for use with OpenGIS. This wrapper is a
good place to check for non-implemented OpenGIS methods (just check
for methods throwing UnsupportedOperationException
). This
class is suitable for RMI use.
Field Summary | |
protected Adapters |
adapters
The originating adapter. |
protected MathTransform |
transform
The enclosed math transform. |
Fields inherited from class java.rmi.server.RemoteObject |
ref |
Constructor Summary | |
protected |
MathTransformExport(java.lang.Object adapters,
MathTransform transform)
Construct a remote object. |
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. |
static java.lang.Object |
unwrap(java.lang.Object object)
Returns the underlying transform of the specified MathTransformExport .
|
Methods inherited from class java.rmi.server.RemoteObject |
equals, getRef, hashCode, toString, toStub |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
protected final Adapters adapters
protected final MathTransform transform
Constructor Detail |
protected MathTransformExport(java.lang.Object adapters, MathTransform transform)
Method Detail |
public static java.lang.Object unwrap(java.lang.Object object)
MathTransformExport
.
If object
is not an instance of MathTransformExport
, then
it is returned as is.
public CT_DomainFlags getDomainFlags(double[] ord) throws java.rmi.RemoteException
getDomainFlags
in interface CT_MathTransform
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
getCodomainConvexHull
in interface CT_MathTransform
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
getWKT
in interface CT_MathTransform
java.rmi.RemoteException
- if a remote method call failed.public java.lang.String getXML() throws java.rmi.RemoteException
getXML
in interface CT_MathTransform
java.rmi.RemoteException
- if a remote method call failed.public int getDimSource() throws java.rmi.RemoteException
getDimSource
in interface CT_MathTransform
java.rmi.RemoteException
- if a remote method call failed.public int getDimTarget() throws java.rmi.RemoteException
getDimTarget
in interface CT_MathTransform
java.rmi.RemoteException
- if a remote method call failed.public boolean isIdentity() throws java.rmi.RemoteException
isIdentity
in interface CT_MathTransform
true
if this MathTransform
is
an identity transform; false
otherwise.
java.rmi.RemoteException
- if a remote method call failed.public PT_CoordinatePoint transform(PT_CoordinatePoint cp) throws java.rmi.RemoteException
transform
in interface CT_MathTransform
cp
- Point to transform.
java.rmi.RemoteException
- if a remote method call failed.public double[] transformList(double[] ord) throws java.rmi.RemoteException
transformList
in interface CT_MathTransform
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
derivative
in interface CT_MathTransform
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
inverse
in interface CT_MathTransform
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 |