public class DefaultCoordinateSequenceTransformer extends Object implements CoordinateSequenceTransformer
This transformer support math transform with up to 3 source or target dimensions. This transformer is not thread-safe.
Constructor and Description |
---|
DefaultCoordinateSequenceTransformer()
Constructs a default coordinate sequence transformer.
|
DefaultCoordinateSequenceTransformer(CoordinateSequenceFactory csFactory) |
Modifier and Type | Method and Description |
---|---|
CoordinateSequence |
transform(CoordinateSequence sequence,
MathTransform transform)
Returns a transformed coordinate sequence.
|
public DefaultCoordinateSequenceTransformer()
public DefaultCoordinateSequenceTransformer(CoordinateSequenceFactory csFactory)
public CoordinateSequence transform(CoordinateSequence sequence, MathTransform transform) throws TransformException
transform
in interface CoordinateSequenceTransformer
sequence
- The sequence to transform.transform
- The transformation to apply.TransformException
- if at least one coordinate can't be transformed.Copyright © 1996–2019 Geotools. All rights reserved.