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.
Interface | Description |
---|---|
CoordinateFilter |
An interface for classes which use the values of the coordinates in a
Geometry . |
CoordinateSequence |
The internal representation of a list of coordinates inside a Geometry.
|
CoordinateSequenceFactory |
A factory to create concrete instances of
CoordinateSequence s. |
CoordinateSequenceFilter |
An interface for classes which process the coordinates in a
CoordinateSequence . |
GeometryComponentFilter |
Geometry classes support the concept of applying
a GeometryComponentFilter
filter to the Geometry . |
GeometryFilter |
GeometryCollection classes support the concept of
applying a GeometryFilter to the Geometry . |
Lineal |
Identifies
Geometry subclasses which
are 1-dimensional and have components which are LineString s. |
Polygonal | |
Puntal |
Class | Description |
---|---|
Coordinate |
A lightweight class used to store coordinates
on the 2-dimensional Cartesian plane.
|
Coordinate.DimensionalComparator |
Compares two
Coordinate s, allowing for either a 2-dimensional
or 3-dimensional comparison, and handling NaN values correctly. |
CoordinateArrays |
Useful utility functions for handling Coordinate arrays
|
CoordinateArrays.BidirectionalComparator |
A
Comparator for Coordinate arrays
modulo their directionality. |
CoordinateArrays.ForwardComparator |
A
Comparator for Coordinate arrays
in the forward direction of their coordinates,
using lexicographic ordering. |
CoordinateList |
A list of
Coordinate s, which may
be set to prevent repeated coordinates from occurring in the list. |
CoordinateSequenceComparator |
Compares two
CoordinateSequence s. |
CoordinateSequences |
Utility functions for manipulating
CoordinateSequence s |
DefaultCoordinateSequenceFactory | Deprecated.
no longer used, recommend CoordinateArraySequenceFactory for array backed implementation
|
Dimension |
Provides constants representing the dimensions of a point, a curve and a surface.
|
Envelope |
Defines a rectangular region of the 2D coordinate plane.
|
Geometry |
A representation of a planar, linear vector geometry.
|
GeometryCollection |
Models a collection of
Geometry s of
arbitrary type and dimension. |
GeometryCollectionIterator | |
GeometryFactory |
Supplies a set of utility methods for building Geometry objects from lists
of Coordinates.
|
IntersectionMatrix |
Models a Dimensionally Extended Nine-Intersection Model (DE-9IM) matrix.
|
LinearRing |
Models an OGC SFS
LinearRing . |
LineSegment |
Represents a line segment defined by two
Coordinate s. |
LineString |
Models an OGC-style
LineString . |
Location |
Constants representing the different topological locations
which can occur in a
Geometry . |
MultiLineString |
Models a collection of
LineString s. |
MultiPoint |
Models a collection of
Point s. |
MultiPolygon |
Models a collection of
Polygon s. |
OctagonalEnvelope |
A bounding container for a
Geometry which is in the shape of a general octagon. |
Point |
Represents a single point.
|
Polygon |
Represents a polygon with linear edges, which may include holes.
|
PrecisionModel |
Specifies the precision model of the
Coordinate s in a Geometry . |
PrecisionModel.Type |
The types of Precision Model which JTS supports.
|
Triangle |
Represents a planar triangle, and provides methods for calculating various
properties of triangles.
|
Exception | Description |
---|---|
TopologyException |
Indicates an invalid or inconsistent topological situation encountered during processing
|
Copyright © 2018. All rights reserved.