| java.lang.Object org.geotools.geometry.jts.GeometryCoordinateSequenceTransformer
GeometryCoordinateSequenceTransformer | public class GeometryCoordinateSequenceTransformer (Code) | | Service object that takes a geometry an applies a MathTransform on top
of it.
author: Andrea Aime |
GeometryCoordinateSequenceTransformer | public GeometryCoordinateSequenceTransformer()(Code) | | |
projectCoordinateSequence | public CoordinateSequence projectCoordinateSequence(CoordinateSequence cs) throws TransformException(Code) | | Parameters: cs - a CoordinateSequence throws: TransformException - |
setCoordinateReferenceSystem | public void setCoordinateReferenceSystem(CoordinateReferenceSystem crs)(Code) | | Sets the target coordinate reference system.
This value is used to set the coordinate reference system of geometries
after they have been transformed.
Parameters: crs - The target coordinate reference system. |
setMathTransform | public void setMathTransform(MathTransform transform)(Code) | | Sets the math transform to be used for transformation
Parameters: transform - |
transform | public Geometry transform(Geometry g) throws TransformException(Code) | | Applies the transform to the provided geometry, given
Parameters: g - throws: TransformException - |
transformLineString | public LineString transformLineString(LineString ls, GeometryFactory gf) throws TransformException(Code) | | throws: TransformException - |
transformPoint | public Point transformPoint(Point point, GeometryFactory gf) throws TransformException(Code) | | Parameters: point - throws: TransformException - |
transformPolygon | public Polygon transformPolygon(Polygon polygon, GeometryFactory gf) throws TransformException(Code) | | Parameters: polygon - throws: TransformException - |
|
|