Package org.locationtech.jts.geom.util
Provides classes that parse and modify Geometry objects.
-
Interface Summary Interface Description GeometryEditor.GeometryEditorOperation A interface which specifies an edit operation for Geometries.GeometryMapper.MapOp An interface for geometry functions that map a geometry input to a geometry output. -
Class Summary Class Description AffineTransformation Represents an affine transformation on the 2D Cartesian plane.AffineTransformationBuilder Builds anAffineTransformation
defined by a set of control vectors.AffineTransformationFactory Supports creatingAffineTransformation
s defined by various kinds of inputs and transformation mapping rules.ComponentCoordinateExtracter Extracts a representativeCoordinate
from each connected component of aGeometry
.GeometryCollectionMapper Maps the members of aGeometryCollection
into another GeometryCollection via a defined mapping function.GeometryCombiner CombinesGeometry
s to produce aGeometryCollection
of the most appropriate type.GeometryEditor A class which supports creating newGeometry
s which are modifications of existing ones, maintaining the same type structure.GeometryEditor.CoordinateOperation AGeometryEditor.GeometryEditorOperation
which edits the coordinate list of aGeometry
.GeometryEditor.CoordinateSequenceOperation GeometryEditor.NoOpGeometryOperation A GeometryEditorOperation which does not modify the input geometry.GeometryExtracter Extracts the components of a given type from aGeometry
.GeometryFixer Fixes a geometry to be a valid geometry, while preserving as much as possible of the shape and location of the input.GeometryMapper Methods to map various collections ofGeometry
s via defined mapping functions.GeometryTransformer LinearComponentExtracter Extracts all the 1-dimensional (LineString
) components from aGeometry
.LineStringExtracter Extracts all theLineString
elements from aGeometry
.PointExtracter PolygonExtracter ShortCircuitedGeometryVisitor A visitor toGeometry
components, which allows short-circuiting when a defined condition holds.SineStarFactory Creates geometries which are shaped like multi-armed stars with each arm shaped like a sine wave. -
Exception Summary Exception Description NoninvertibleTransformationException Indicates that anAffineTransformation
is non-invertible.