public class IlvAbridgedMolodenskyTransform extends Object implements IlvMathTransform, IlvPersistentObject
Constructor and Description |
---|
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. |
Modifier and Type | Method and Description |
---|---|
IlvMathTransform |
getInverse()
Returns the inverse transformation.
|
int |
getSourceDimension()
Returns the dimension of source coordinates.
|
int |
getTargetDimension()
Returns the dimension of target coordinates.
|
static boolean |
isApplyToSphere()
Indicates if the Abridged Molodensky transform should be applied to sphere.
|
boolean |
isIdentity()
Returns
true if the transformation is an identity. |
static void |
setApplyToSphere(boolean applyToSphere)
This method indicates if the transformation formulas should be applied for sphere datums.
|
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.
|
public IlvAbridgedMolodenskyTransform(IlvGeographicCoordinateSystem gcs)
public IlvAbridgedMolodenskyTransform(IlvInputStream stream) throws IlvReadFileException
GeocentricEllipsoidal
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 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 IlvMathTransform getInverse()
getInverse
in interface IlvMathTransform
public IlvCoordinate transform(IlvCoordinate sourceCP, IlvCoordinate result) throws IlvCoordinateTransformationException
sourceCP
, stores the result
in result
and returns it. If result is null
,
a new IlvCoordinate
is allocated.transform
in interface IlvMathTransform
IlvCoordinateTransformationException
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 static boolean isApplyToSphere()
public static void setApplyToSphere(boolean applyToSphere)
applyToSphere
- Whether we should apply the formulas to sphere datum.© Copyright 2024 Rogue Wave Software, Inc., a Perforce company.. All Rights Reserved.