Package org.locationtech.jts.geom
package org.locationtech.jts.geom
Contains the
Geometry interface hierarchy and supporting classes.
The Java Topology Suite (JTS) is a Java API that implements a core set of spatial data operations using an explicit precision model and robust geometric algorithms. JTS is intended to be used in the development of applications that support the validation, cleaning, integration and querying of spatial datasets.
JTS attempts to implement the OpenGIS Simple Features Specification (SFS) as accurately as possible. In some cases the SFS is unclear or omits a specification; in this case JTS attempts to choose a reasonable and consistent alternative. Differences from and elaborations of the SFS are documented in this specification.
Package Specification
- Java Topology Suite Technical Specifications
- OpenGIS Simple Features Specification for SQL
-
ClassDescriptionA lightweight class used to store coordinates on the 2-dimensional Cartesian plane.Compares two
Coordinates, allowing for either a 2-dimensional or 3-dimensional comparison, and handling NaN values correctly.Useful utility functions for handling Coordinate arraysAComparatorforCoordinatearrays modulo their directionality.AComparatorforCoordinatearrays in the forward direction of their coordinates, using lexicographic ordering.An interface for classes which use the values of the coordinates in aGeometry.A list ofCoordinates, which may be set to prevent repeated coordinates from occurring in the list.Useful utility functions for handling Coordinate objects.The internal representation of a list of coordinates inside a Geometry.Compares twoCoordinateSequences.A factory to create concrete instances ofCoordinateSequences.An interface for classes which process the coordinates in aCoordinateSequence.Utility functions for manipulatingCoordinateSequencesCoordinate subclass supporting XY ordinates.Coordinate subclass supporting XYM ordinates.Coordinate subclass supporting XYZM ordinates.Provides constants representing the dimensions of a point, a curve and a surface.Defines a rectangular region of the 2D coordinate plane.A representation of a planar, linear vector geometry.Models a collection ofGeometrys of arbitrary type and dimension.Geometryclasses support the concept of applying aGeometryComponentFilterfilter to a geometry.Supplies a set of utility methods for building Geometry objects from lists of Coordinates.GeometryCollectionclasses support the concept of applying aGeometryFilterto theGeometry.Models a Dimensionally Extended Nine-Intersection Model (DE-9IM) matrix.IdentifiesGeometrysubclasses which are 1-dimensional and have components which areLineStrings.Models an OGC SFSLinearRing.Represents a line segment defined by twoCoordinates.Models an OGC-styleLineString.Constants representing the different topological locations which can occur in aGeometry.Models a collection ofLineStrings.Models a collection ofPoints.Models a collection ofPolygons.A bounding container for aGeometrywhich is in the shape of a general octagon.Represents a single point.Represents a polygon with linear edges, which may include holes.Indicates the position of a location relative to a node or edge component of a planar topological structure.Specifies the precision model of theCoordinates in aGeometry.The types of Precision Model which JTS supports.Utility functions for working with quadrants of the Euclidean plane.Indicates an invalid or inconsistent topological situation encountered during processingRepresents a planar triangle, and provides methods for calculating various properties of triangles.