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
Version:
$Id: CoordinateSequenceTransformer.java 17701 2006-01-23 00:00:51Z desruisseaux $
Author:
Andrea Aime

Method Summary
 com.vividsolutions.jts.geom.CoordinateSequence transform(com.vividsolutions.jts.geom.CoordinateSequence sequence, org.opengis.referencing.operation.MathTransform transform)
          Returns a transformed coordinate sequence.
 

Method Detail

transform

public com.vividsolutions.jts.geom.CoordinateSequence transform(com.vividsolutions.jts.geom.CoordinateSequence sequence,
                                                                org.opengis.referencing.operation.MathTransform transform)
                                                         throws org.opengis.referencing.operation.TransformException
Returns a transformed coordinate sequence.

Parameters:
sequence - The sequence to transform.
transform - The transformation to apply.
Throws:
org.opengis.referencing.operation.TransformException - if at least one coordinate can't be transformed.


Copyright © GeoTools. All Rights Reserved.