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 anAffineTransformationdefined by a set of control vectors.AffineTransformationFactory Supports creatingAffineTransformations defined by various kinds of inputs and transformation mapping rules.ComponentCoordinateExtracter Extracts a representativeCoordinatefrom each connected component of aGeometry.GeometryCollectionMapper Maps the members of aGeometryCollectioninto another GeometryCollection via a defined mapping function.GeometryCombiner CombinesGeometrys to produce aGeometryCollectionof the most appropriate type.GeometryEditor A class which supports creating newGeometrys which are modifications of existing ones, maintaining the same type structure.GeometryEditor.CoordinateOperation AGeometryEditor.GeometryEditorOperationwhich 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 ofGeometrys via defined mapping functions.GeometryTransformer LinearComponentExtracter Extracts all the 1-dimensional (LineString) components from aGeometry.LineStringExtracter Extracts all theLineStringelements from aGeometry.PointExtracter PolygonalExtracter PolygonExtracter ShortCircuitedGeometryVisitor A visitor toGeometrycomponents, 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 anAffineTransformationis non-invertible.