ilog.views.maps.srs.coordtrans
Class IlvGeocentricTransform.EllipsoidalGeocentric

java.lang.Object
  extended by ilog.views.maps.srs.coordtrans.IlvGeocentricTransform
      extended by ilog.views.maps.srs.coordtrans.IlvGeocentricTransform.EllipsoidalGeocentric
All Implemented Interfaces:
IlvPersistentObject, IlvMathTransform
Enclosing class:
IlvGeocentricTransform

public static class IlvGeocentricTransform.EllipsoidalGeocentric
extends IlvGeocentricTransform

The transformation to transform ellipsoidal coordinates to geocentric coordinates.

Since:
JViews 5.0

Nested Class Summary
 
Nested classes/interfaces inherited from class ilog.views.maps.srs.coordtrans.IlvGeocentricTransform
IlvGeocentricTransform.EllipsoidalGeocentric, IlvGeocentricTransform.GeocentricEllipsoidal
 
Constructor Summary
IlvGeocentricTransform.EllipsoidalGeocentric(IlvGeographicCoordinateSystem ellipsoidalCS, IlvGeocentricCoordinateSystem geoCS)
          Constructs a new ellipsoidal to geocentric transformation.
IlvGeocentricTransform.EllipsoidalGeocentric(IlvInputStream stream)
          Reads an EllipsoidalGeocentric from the specified input stream.
 
Method Summary
 IlvMathTransform getInverse()
          Returns the inverse transformation.
 IlvCoordinate transform(IlvCoordinate sourceCP, IlvCoordinate result)
          Transforms the specified point.
 void write(IlvOutputStream stream)
          Writes this transformation to the specified output file.
 
Methods inherited from class ilog.views.maps.srs.coordtrans.IlvGeocentricTransform
getSourceCS, getSourceDimension, getTargetCS, getTargetDimension, isIdentity, transform
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IlvGeocentricTransform.EllipsoidalGeocentric

public IlvGeocentricTransform.EllipsoidalGeocentric(IlvGeographicCoordinateSystem ellipsoidalCS,
                                                    IlvGeocentricCoordinateSystem geoCS)
Constructs a new ellipsoidal to geocentric transformation.


IlvGeocentricTransform.EllipsoidalGeocentric

public IlvGeocentricTransform.EllipsoidalGeocentric(IlvInputStream stream)
                                             throws IlvReadFileException
Reads an EllipsoidalGeocentric 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
Overrides:
write in class IlvGeocentricTransform
Parameters:
stream - The IlvOutputStream.
Throws:
IOException - If an error occurs.

getInverse

public IlvMathTransform getInverse()
Returns the inverse transformation. The inverse transformation has a default iteration step tolerance of 1e-3. If this EllipsoidalGeocentric has already been instantiated by the inverse method of an GeocentricEllipsoidal transformation, the tolerance is switched back to the one set in the geocentric ellipsoidal transformation.


transform

public IlvCoordinate transform(IlvCoordinate sourceCP,
                               IlvCoordinate result)
                        throws IlvCoordinateTransformationException
Transforms the specified point.

Throws:
IlvCoordinateTransformationException


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