public class IlvProjectionTransform extends Object implements IlvMathTransform, IlvPersistentObject
IlvProjection into an
IlvMathTransform.IlvProjection| Constructor and Description |
|---|
IlvProjectionTransform(IlvInputStream stream)
Reads a
GeocentricEllipsoidal from the specified
input stream. |
IlvProjectionTransform(IlvProjectedCoordinateSystem pcs)
Constructs a new transformation to transform from ellipsoidal
coordinate system to the specified projected coordinate system.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
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 this 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 source coordinate point, and puts the
result coordinate in
result. |
void |
write(IlvOutputStream stream)
Writes this transformation to the specified output file.
|
public IlvProjectionTransform(IlvProjectedCoordinateSystem pcs)
pcs - The IlvProjectedCoordinateSystem describing
the projected coordinate system.public IlvProjectionTransform(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 IlvPersistentObjectstream - The IlvOutputStream.IOException - If an error occurs.public IlvMathTransform getInverse()
getInverse in interface IlvMathTransformnull if no inverse transformation
is defined.public IlvCoordinate transform(IlvCoordinate sourceCP, IlvCoordinate result) throws IlvCoordinateTransformationException
result. If result is null,
a new coordinate is allocated and then returned.transform in interface IlvMathTransformIlvToleranceConditionException - If
the coordinate to transform is not within the limits of the projection.IlvUnsupportedProjectionFeature - If
the transformation leads to an operation that is not supported by the
projection.IlvCoordinateTransformationExceptionpublic IlvCoordinate[] transform(IlvCoordinate[] sourceCP, IlvCoordinate[] result) throws IlvCoordinateTransformationException
result. If result is
null, a new array of coordinate is allocated.transform in interface IlvMathTransformIlvToleranceConditionException - If
the coordinates to transform is not within the limits of the projection.IlvUnsupportedProjectionFeature - If
the transformation leads to an operation that is not supported by the
projection.IlvCoordinateTransformationExceptionpublic int getSourceDimension()
getSourceDimension in interface IlvMathTransformpublic int getTargetDimension()
getTargetDimension in interface IlvMathTransformpublic boolean isIdentity()
true if this transformation is an identity,isIdentity in interface IlvMathTransformtrue if this transformation is an identity.public boolean equals(Object obj)
equals in class ObjectObject.equals(java.lang.Object)© Copyright Rogue Wave Software, Inc. 1997, 2017. All Rights Reserved.