LineStringTransformer class
Methods
-
copy(CoordinateSequence seq)
→ CoordinateSequence
-
Convenience method which provides a standard way of copying {@link CoordinateSequence}s
@param seq the sequence to copy
@return a deep copy of the sequence
inherited
-
createCoordinateSequence(List<Coordinate> coords)
→ CoordinateSequence
-
Convenience method which provides standard way of
creating a {@link CoordinateSequence}
inherited
-
getInputGeometry()
→ Geometry
-
Utility function to make input geometry available
inherited
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
toString()
→ String
-
A string representation of this object.
inherited
-
transform(Geometry inputGeom)
→ Geometry
-
inherited
-
transformCoordinates(CoordinateSequence coords, Geometry parent)
→ CoordinateSequence
-
Transforms a {@link CoordinateSequence}.
This method should always return a valid coordinate list for
the desired result type. (E.g. a coordinate list for a LineString
must have 0 or at least 2 points).
If this is not possible, return an empty sequence -
this will be pruned out.
override
-
transformGeometryCollection(GeometryCollection geom, Geometry parent)
→ Geometry
-
inherited
-
transformLinearRing(LinearRing geom, Geometry parent)
→ Geometry
-
Transforms a LinearRing.
The transformation of a LinearRing may result in a coordinate sequence
which does not form a structurally valid ring (i.e. a degenerate ring of 3 or fewer points).
In this case a LineString is returned.
Subclasses may wish to override this method and check for this situation
(e.g. a subclass may choose to eliminate degenerate linear rings)
inherited
-
transformLineString(LineString geom, Geometry parent)
→ Geometry
-
Transforms a {@link LineString} geometry.
inherited
-
transformMultiLineString(MultiLineString geom, Geometry parent)
→ Geometry
-
inherited
-
transformMultiPoint(MultiPoint geom, Geometry parent)
→ Geometry
-
inherited
-
transformMultiPolygon(MultiPolygon geom, Geometry parent)
→ Geometry
-
inherited
-
transformPoint(Point geom, Geometry parent)
→ Geometry
-
inherited
-
transformPolygon(Polygon geom, Geometry parent)
→ Geometry
-
inherited