Package org.geotools.geometry.jts
Interface CoordinateSequenceTransformer
- All Known Implementing Classes:
DefaultCoordinateSequenceTransformer
,InPlaceCoordinateSequenceTransformer
,PreciseCoordinateSequenceTransformer
public interface CoordinateSequenceTransformer
Interface that should be implemented by classes able to apply the provided transformation
to a coordinate sequence.
- Since:
- 2.1
- Author:
- Andrea Aime
-
Method Summary
Modifier and TypeMethodDescriptiontransform
(CoordinateSequence sequence, MathTransform transform) Returns a transformed coordinate sequence.
-
Method Details
-
transform
CoordinateSequence transform(CoordinateSequence sequence, MathTransform transform) throws TransformException Returns a transformed coordinate sequence.- Parameters:
sequence
- The sequence to transform.transform
- The transformation to apply.- Throws:
TransformException
- if at least one coordinate can't be transformed.
-