public abstract class IlvGeocentricTransform extends Object implements IlvMathTransform, IlvPersistentObject
Modifier and Type | Class and Description |
---|---|
static class |
IlvGeocentricTransform.EllipsoidalGeocentric
The transformation to transform ellipsoidal coordinates to geocentric
coordinates.
|
static class |
IlvGeocentricTransform.GeocentricEllipsoidal
The transformation to transform geocentric coordinates to ellipsoidal
coordinates.
|
Modifier | Constructor and Description |
---|---|
protected |
IlvGeocentricTransform(IlvCoordinateSystem sourceCS,
IlvCoordinateSystem targetCS)
Constructor.
|
protected |
IlvGeocentricTransform(IlvInputStream stream)
Reads an
IlvGeocentricTransformation from the specified
input stream. |
Modifier and Type | Method and Description |
---|---|
IlvCoordinateSystem |
getSourceCS()
Returns the source coordinate system for this transformation.
|
int |
getSourceDimension()
Returns the dimension of source coordinates.
|
IlvCoordinateSystem |
getTargetCS()
Returns the destination coordinate system for this transformation.
|
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 . |
void |
write(IlvOutputStream stream)
Writes this transformation to the specified output file.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getInverse, transform
protected IlvGeocentricTransform(IlvCoordinateSystem sourceCS, IlvCoordinateSystem targetCS)
protected IlvGeocentricTransform(IlvInputStream stream) throws IlvReadFileException
IlvGeocentricTransformation
from the specified
input stream.stream
- The IlvInputStream
.IlvReadFileException
- If a transformation cannot be read
from the input stream.public void write(IlvOutputStream stream) throws IOException
write
in interface IlvPersistentObject
stream
- The IlvOutputStream
.IOException
- If an error occurs.public IlvCoordinate[] transform(IlvCoordinate[] sourceCP, IlvCoordinate[] result) throws IlvCoordinateTransformationException
result
. If result
is
null
, a new array of coordinate is allocated.transform
in interface IlvMathTransform
IlvCoordinateTransformationException
public int getSourceDimension()
getSourceDimension
in interface IlvMathTransform
public int getTargetDimension()
getTargetDimension
in interface IlvMathTransform
public boolean isIdentity()
true
if the transformation is an identity.isIdentity
in interface IlvMathTransform
public IlvCoordinateSystem getSourceCS()
public IlvCoordinateSystem getTargetCS()
© Copyright Rogue Wave Software, Inc. 1997, 2018. All Rights Reserved.