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 IlvPersistentObject
stream
- The IlvOutputStream
.IOException
- If an error occurs.public int getSourceDimension()
getSourceDimension
in interface IlvMathTransform
public int getTargetDimension()
getTargetDimension
in interface IlvMathTransform
public IlvCoordinate transform(IlvCoordinate sourceCP, IlvCoordinate result) throws IlvCoordinateTransformationException
transform
in interface IlvMathTransform
IlvCoordinateTransformationException
public IlvCoordinate[] transform(IlvCoordinate[] sourceCP, IlvCoordinate[] result) throws IlvCoordinateTransformationException
transform
in interface IlvMathTransform
IlvCoordinateTransformationException
public IlvMathTransform getInverse()
getInverse
in interface IlvMathTransform
public boolean isIdentity()
true
if this transformation is an identity.isIdentity
in interface IlvMathTransform
public boolean equals(Object obj)
equals
in class Object
Object.equals(java.lang.Object)
© Copyright Rogue Wave Software, Inc. 1997, 2018. All Rights Reserved.