ilog.views.maps.srs.coordtrans
Class IlvAbridgedMolodenskyTransform

java.lang.Object
  extended by ilog.views.maps.srs.coordtrans.IlvAbridgedMolodenskyTransform
All Implemented Interfaces:
IlvPersistentObject, IlvMathTransform

public class IlvAbridgedMolodenskyTransform
extends Object
implements IlvMathTransform, IlvPersistentObject

The Abridged Molodensky transformation transforms from and to datums using the horizontal shift datums.
The Abridged Molodensky only uses the 3 translation parameters of a datum transformation.

Since:
JViews 5.0

Constructor Summary
IlvAbridgedMolodenskyTransform(IlvGeographicCoordinateSystem gcs)
          Returns an abridged Molodensky transformation to transform geographic coordinates from the specified geographic coordinate system to the kernel geographic coordinate system.
IlvAbridgedMolodenskyTransform(IlvInputStream stream)
          Reads a GeocentricEllipsoidal from the specified input stream.
 
Method Summary
 IlvMathTransform getInverse()
          Returns the inverse transformation.
 int getSourceDimension()
          Returns the dimension of source coordinates.
 int getTargetDimension()
          Returns the dimension of target coordinates.
 boolean isIdentity()
          Returns true if the transformation is an identity.
 IlvCoordinate[] transform(IlvCoordinate[] sourceCP, IlvCoordinate[] result)
          Transforms the specified array of coordinate points, and puts the resulting coordinates in result.
 IlvCoordinate transform(IlvCoordinate sourceCP, IlvCoordinate result)
          Transforms the specified point sourceCP, stores the result in result and returns it.
 void write(IlvOutputStream stream)
          Writes this transformation to the specified output file.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IlvAbridgedMolodenskyTransform

public IlvAbridgedMolodenskyTransform(IlvGeographicCoordinateSystem gcs)
Returns an abridged Molodensky transformation to transform geographic coordinates from the specified geographic coordinate system to the kernel geographic coordinate system.


IlvAbridgedMolodenskyTransform

public IlvAbridgedMolodenskyTransform(IlvInputStream stream)
                               throws IlvReadFileException
Reads a GeocentricEllipsoidal from the specified input stream.

Parameters:
stream - The IlvInputStream.
Throws:
IlvReadFileException - If a transformation cannot be read from the input stream.
Method Detail

write

public void write(IlvOutputStream stream)
           throws IOException
Writes this transformation to the specified output file.

Specified by:
write in interface IlvPersistentObject
Parameters:
stream - The IlvOutputStream.
Throws:
IOException - If an error occurs.

getSourceDimension

public int getSourceDimension()
Returns the dimension of source coordinates.

Specified by:
getSourceDimension in interface IlvMathTransform

getTargetDimension

public int getTargetDimension()
Returns the dimension of target coordinates.

Specified by:
getTargetDimension in interface IlvMathTransform

isIdentity

public boolean isIdentity()
Returns true if the transformation is an identity.

Specified by:
isIdentity in interface IlvMathTransform

getInverse

public IlvMathTransform getInverse()
Returns the inverse transformation.

Specified by:
getInverse in interface IlvMathTransform

transform

public IlvCoordinate transform(IlvCoordinate sourceCP,
                               IlvCoordinate result)
                        throws IlvCoordinateTransformationException
Transforms the specified point sourceCP, stores the result in result and returns it. If result is null, a new IlvCoordinate is allocated.

Specified by:
transform in interface IlvMathTransform
Throws:
IlvCoordinateTransformationException

transform

public IlvCoordinate[] transform(IlvCoordinate[] sourceCP,
                                 IlvCoordinate[] result)
                          throws IlvCoordinateTransformationException
Transforms the specified array of coordinate points, and puts the resulting coordinates in result. If result is null, a new array of coordinate is allocated.

Specified by:
transform in interface IlvMathTransform
Throws:
IlvCoordinateTransformationException


Copyright © 1996-2007 ILOG S.A. All rights reserved.   Documentation homepage.