public class IlvConcatenatedTransform extends Object implements IlvMathTransform, IlvPersistentObject
| Constructor and Description |
|---|
IlvConcatenatedTransform(IlvInputStream stream)
Reads an
IlvAbridgedMolodenskyTransformation from the
specified input stream. |
IlvConcatenatedTransform(IlvMathTransform[] ct)
Constructs a concatenated transformation with the specified
transformations.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
IlvMathTransform |
getInverse()
Returns the inverse transformation of this 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)
Applies the transformation to an array of coordinates.
|
IlvCoordinate |
transform(IlvCoordinate sourceCP,
IlvCoordinate result)
Transforms the specified source point.
|
void |
write(IlvOutputStream stream)
Writes this transformation to the specified output file.
|
public IlvConcatenatedTransform(IlvMathTransform[] ct)
public IlvConcatenatedTransform(IlvInputStream stream) throws IlvReadFileException
IlvAbridgedMolodenskyTransformation 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 int getSourceDimension()
getSourceDimension in interface IlvMathTransformpublic int getTargetDimension()
getTargetDimension in interface IlvMathTransformpublic IlvCoordinate transform(IlvCoordinate sourceCP, IlvCoordinate result) throws IlvCoordinateTransformationException
transform in interface IlvMathTransformIlvCoordinateTransformationExceptionpublic IlvCoordinate[] transform(IlvCoordinate[] sourceCP, IlvCoordinate[] result) throws IlvCoordinateTransformationException
transform in interface IlvMathTransformIlvCoordinateTransformationExceptionpublic IlvMathTransform getInverse()
getInverse in interface IlvMathTransformpublic boolean isIdentity()
true if this transformation is an identity.isIdentity in interface IlvMathTransformpublic boolean equals(Object obj)
equals in class ObjectObject.equals(java.lang.Object)© Copyright Rogue Wave Software, Inc. 1997, 2017. All Rights Reserved.