Package | Description |
---|---|
org.locationtech.jts.algorithm |
Contains classes and interfaces implementing fundamental computational geometry algorithms.
|
org.locationtech.jts.awt |
Classes to perform conversions from Java2D shape objects.
|
org.locationtech.jts.dissolve | |
org.locationtech.jts.geom |
Contains the
Geometry interface hierarchy and supporting classes. |
org.locationtech.jts.geom.util |
Provides classes that parse and modify Geometry objects.
|
org.locationtech.jts.geomgraph |
Contains classes that implement topology graphs.
|
org.locationtech.jts.io |
Contains the interfaces for converting JTS objects to and from other formats.
|
org.locationtech.jts.io.geojson | |
org.locationtech.jts.io.gml2 |
Classes to read and write the GML2 geometry format.
|
org.locationtech.jts.linearref |
Contains classes and interfaces implementing linear referencing on linear geometries
|
org.locationtech.jts.noding |
Classes to compute nodings for arrangements of line segments and line segment sequences.
|
org.locationtech.jts.noding.snapround |
Contains classes to implement the Snap Rounding algorithm for noding linestrings.
|
org.locationtech.jts.operation |
Provides classes for implementing operations on geometries
|
org.locationtech.jts.operation.buffer |
Provides classes for computing buffers of geometries
|
org.locationtech.jts.operation.linemerge |
Classes to perform line merging.
|
org.locationtech.jts.operation.overlay |
Contains classes that perform a topological overlay to compute boolean spatial functions.
|
org.locationtech.jts.operation.polygonize |
An API for polygonizing sets of lines.
|
org.locationtech.jts.operation.union |
Classes to perform efficent unioning of collections of geometries.
|
org.locationtech.jts.operation.valid |
Provides classes for testing the validity of geometries.
|
org.locationtech.jts.precision |
Provides classes for analyzing and
manipulating the precision of Geometries.
|
org.locationtech.jts.shape | |
org.locationtech.jts.shape.fractal | |
org.locationtech.jts.shape.random | |
org.locationtech.jts.triangulate |
Classes to compute Delaunay triangulations.
|
org.locationtech.jts.triangulate.quadedge |
Classes to implement a topological subdivision of quadeges, to support creating triangulations
and Voronoi diagrams.
|
org.locationtech.jts.util |
Contains support classes for the Java Topology Suite.
|
org.locationtech.jtsexample.geom.prep | |
org.locationtech.jtsexample.io.gml2 | |
org.locationtech.jtsexample.linearref | |
org.locationtech.jtsexample.operation.distance | |
org.locationtech.jtsexample.technique | |
org.locationtech.jtstest.clean | |
org.locationtech.jtstest.function | |
org.locationtech.jtstest.testbuilder | |
org.locationtech.jtstest.testbuilder.geom | |
org.locationtech.jtstest.testbuilder.io.shapefile | |
org.locationtech.jtstest.testbuilder.model | |
org.locationtech.jtstest.testrunner | |
org.locationtech.jtstest.util.io |
Modifier and Type | Field and Description |
---|---|
private GeometryFactory |
InteriorPointArea.factory |
private GeometryFactory |
ConvexHull.geomFactory |
Constructor and Description |
---|
ConvexHull(Coordinate[] pts,
GeometryFactory geomFactory)
Create a new convex hull construction for the input
Coordinate array. |
Modifier and Type | Field and Description |
---|---|
private GeometryFactory |
ShapeReader.geometryFactory |
Modifier and Type | Method and Description |
---|---|
static Geometry |
ShapeReader.read(java.awt.geom.PathIterator pathIt,
GeometryFactory geomFact)
Converts a flat path to a
Geometry . |
static Geometry |
ShapeReader.read(java.awt.Shape shp,
double flatness,
GeometryFactory geomFact)
Converts a Shape to a Geometry, flattening it first.
|
static Geometry |
FontGlyphReader.read(java.lang.String text,
java.awt.Font font,
double flatness,
GeometryFactory geomFact)
Converts text rendered in the given
Font to a Geometry |
static Geometry |
FontGlyphReader.read(java.lang.String text,
java.awt.Font font,
GeometryFactory geomFact)
Converts text rendered in the given
Font to a Geometry
using a standard flatness factor. |
static Geometry |
FontGlyphReader.read(java.lang.String text,
java.lang.String fontName,
int pointSize,
GeometryFactory geomFact)
Converts text rendered in the given font and pointsize to a
Geometry
using a standard flatness factor. |
Constructor and Description |
---|
ShapeReader(GeometryFactory geometryFactory) |
Modifier and Type | Field and Description |
---|---|
private GeometryFactory |
LineDissolver.factory |
Modifier and Type | Field and Description |
---|---|
protected GeometryFactory |
Geometry.factory
The
GeometryFactory used to create this Geometry |
Modifier and Type | Method and Description |
---|---|
GeometryFactory |
Geometry.getFactory()
Gets the factory which contains the context in which this geometry was created.
|
Modifier and Type | Method and Description |
---|---|
Geometry |
OctagonalEnvelope.toGeometry(GeometryFactory geomFactory) |
LineString |
LineSegment.toGeometry(GeometryFactory geomFactory)
Creates a LineString with the same coordinates as this segment
|
Constructor and Description |
---|
Geometry(GeometryFactory factory)
Creates a new
Geometry via the specified GeometryFactory. |
GeometryCollection(Geometry[] geometries,
GeometryFactory factory) |
LinearRing(Coordinate[] points,
GeometryFactory factory)
This method is ONLY used to avoid deprecation warnings.
|
LinearRing(CoordinateSequence points,
GeometryFactory factory)
Constructs a
LinearRing with the vertices
specified by the given CoordinateSequence . |
LineString(CoordinateSequence points,
GeometryFactory factory)
Constructs a
LineString with the given points. |
MultiLineString(LineString[] lineStrings,
GeometryFactory factory) |
MultiPoint(Point[] points,
GeometryFactory factory) |
MultiPolygon(Polygon[] polygons,
GeometryFactory factory) |
Point(CoordinateSequence coordinates,
GeometryFactory factory) |
Polygon(LinearRing shell,
LinearRing[] holes,
GeometryFactory factory)
Constructs a
Polygon with the given exterior boundary and
interior boundaries. |
Modifier and Type | Field and Description |
---|---|
protected GeometryFactory |
GeometryTransformer.factory |
private GeometryFactory |
GeometryEditor.factory
The factory used to create the modified Geometry.
|
private GeometryFactory |
GeometryCombiner.geomFactory |
Modifier and Type | Method and Description |
---|---|
static GeometryFactory |
GeometryCombiner.extractFactory(java.util.Collection geoms)
Extracts the GeometryFactory used by the geometries in a collection
|
Modifier and Type | Method and Description |
---|---|
Geometry |
GeometryEditor.GeometryEditorOperation.edit(Geometry geometry,
GeometryFactory factory)
Edits a Geometry by returning a new Geometry with a modification.
|
Geometry |
GeometryEditor.NoOpGeometryOperation.edit(Geometry geometry,
GeometryFactory factory) |
Geometry |
GeometryEditor.CoordinateOperation.edit(Geometry geometry,
GeometryFactory factory) |
Geometry |
GeometryEditor.CoordinateSequenceOperation.edit(Geometry geometry,
GeometryFactory factory) |
Constructor and Description |
---|
GeometryEditor(GeometryFactory factory)
Creates a new GeometryEditor object which will create
edited
Geometry s with the given GeometryFactory . |
SineStarFactory(GeometryFactory geomFact)
Creates a factory which will create sine stars using the given
GeometryFactory . |
Modifier and Type | Field and Description |
---|---|
protected GeometryFactory |
EdgeRing.geometryFactory |
Modifier and Type | Method and Description |
---|---|
Polygon |
EdgeRing.toPolygon(GeometryFactory geometryFactory) |
Constructor and Description |
---|
EdgeRing(DirectedEdge start,
GeometryFactory geometryFactory) |
Modifier and Type | Field and Description |
---|---|
private GeometryFactory |
WKBReader.factory |
private GeometryFactory |
WKTReader.geometryFactory |
Constructor and Description |
---|
WKBReader(GeometryFactory geometryFactory) |
WKTReader(GeometryFactory geometryFactory)
Creates a reader that creates objects using the given
GeometryFactory . |
Modifier and Type | Field and Description |
---|---|
private GeometryFactory |
GeoJsonReader.gf |
Modifier and Type | Method and Description |
---|---|
private GeometryFactory |
GeoJsonReader.getGeometryFactory(java.util.Map<java.lang.String,java.lang.Object> geometryMap) |
Modifier and Type | Method and Description |
---|---|
private Geometry |
GeoJsonReader.create(java.util.Map<java.lang.String,java.lang.Object> geometryMap,
GeometryFactory geometryFactory) |
private Geometry |
GeoJsonReader.createGeometryCollection(java.util.Map<java.lang.String,java.lang.Object> geometryMap,
GeometryFactory geometryFactory) |
private Geometry |
GeoJsonReader.createLineString(java.util.Map<java.lang.String,java.lang.Object> geometryMap,
GeometryFactory geometryFactory) |
private Geometry |
GeoJsonReader.createMultiLineString(java.util.Map<java.lang.String,java.lang.Object> geometryMap,
GeometryFactory geometryFactory) |
private Geometry |
GeoJsonReader.createMultiPoint(java.util.Map<java.lang.String,java.lang.Object> geometryMap,
GeometryFactory geometryFactory) |
private Geometry |
GeoJsonReader.createMultiPolygon(java.util.Map<java.lang.String,java.lang.Object> geometryMap,
GeometryFactory geometryFactory) |
private Geometry |
GeoJsonReader.createPoint(java.util.Map<java.lang.String,java.lang.Object> geometryMap,
GeometryFactory geometryFactory) |
private Geometry |
GeoJsonReader.createPolygon(java.util.Map<java.lang.String,java.lang.Object> geometryMap,
GeometryFactory geometryFactory) |
Constructor and Description |
---|
GeoJsonReader(GeometryFactory geometryFactory)
This constructor accepts a
GeometryFactory that is used
to create the output geometries and to override the GeoJson CRS. |
Modifier and Type | Field and Description |
---|---|
private GeometryFactory |
GMLHandler.gf |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
GMLHandler.Handler.create(GeometryFactory gf) |
java.lang.Object |
GeometryStrategies.ParseStrategy.parse(GMLHandler.Handler arg,
GeometryFactory gf) |
Geometry |
GMLReader.read(java.io.Reader reader,
GeometryFactory geometryFactory)
Reads a GML2 Geometry from a
Reader into a single Geometry
If a collection of Geometries is found, a GeometryCollection is returned. |
Geometry |
GMLReader.read(java.lang.String gml,
GeometryFactory geometryFactory)
Reads a GML2 Geometry from a String into a single
Geometry
If a collection of geometries is found, a GeometryCollection is returned. |
Constructor and Description |
---|
GMLHandler(GeometryFactory gf,
org.xml.sax.ErrorHandler delegate)
Creates a new handler.
|
Modifier and Type | Field and Description |
---|---|
private GeometryFactory |
LinearGeometryBuilder.geomFact |
Constructor and Description |
---|
LinearGeometryBuilder(GeometryFactory geomFact) |
Modifier and Type | Field and Description |
---|---|
private static GeometryFactory |
NodingValidator.fact |
Modifier and Type | Method and Description |
---|---|
static Geometry |
SegmentStringUtil.toGeometry(java.util.Collection segStrings,
GeometryFactory geomFact)
Converts a collection of
SegmentString s into a Geometry . |
Modifier and Type | Field and Description |
---|---|
private GeometryFactory |
GeometryNoder.geomFact |
Modifier and Type | Field and Description |
---|---|
private GeometryFactory |
BoundaryOp.geomFact |
Modifier and Type | Field and Description |
---|---|
private GeometryFactory |
BufferBuilder.geomFact |
Modifier and Type | Field and Description |
---|---|
private GeometryFactory |
LineSequencer.factory |
private GeometryFactory |
LineMerger.factory |
private GeometryFactory |
EdgeString.factory |
Constructor and Description |
---|
EdgeString(GeometryFactory factory)
Constructs an EdgeString with the given factory used to convert this EdgeString
to a LineString
|
Modifier and Type | Field and Description |
---|---|
private GeometryFactory |
PolygonBuilder.geometryFactory |
private GeometryFactory |
PointBuilder.geometryFactory |
private GeometryFactory |
LineBuilder.geometryFactory |
private GeometryFactory |
OverlayOp.geomFact |
Modifier and Type | Method and Description |
---|---|
static Geometry |
OverlayOp.createEmptyResult(int overlayOpCode,
Geometry a,
Geometry b,
GeometryFactory geomFact)
Creates an empty result geometry of the appropriate dimension,
based on the given overlay operation and the dimensions of the inputs.
|
Constructor and Description |
---|
LineBuilder(OverlayOp op,
GeometryFactory geometryFactory,
PointLocator ptLocator) |
MaximalEdgeRing(DirectedEdge start,
GeometryFactory geometryFactory) |
MinimalEdgeRing(DirectedEdge start,
GeometryFactory geometryFactory) |
PointBuilder(OverlayOp op,
GeometryFactory geometryFactory,
PointLocator ptLocator) |
PolygonBuilder(GeometryFactory geometryFactory) |
Modifier and Type | Field and Description |
---|---|
private GeometryFactory |
PolygonizeGraph.factory |
private GeometryFactory |
EdgeRing.factory |
private GeometryFactory |
Polygonizer.geomFactory |
Constructor and Description |
---|
EdgeRing(GeometryFactory factory) |
PolygonizeGraph(GeometryFactory factory)
Create a new polygonization graph.
|
Modifier and Type | Field and Description |
---|---|
private GeometryFactory |
UnaryUnionOp.geomFact |
private GeometryFactory |
PointGeometryUnion.geomFact |
private GeometryFactory |
UnionInteracting.geomFactory |
private GeometryFactory |
CascadedPolygonUnion.geomFactory |
Modifier and Type | Method and Description |
---|---|
static Geometry |
UnaryUnionOp.union(java.util.Collection geoms,
GeometryFactory geomFact)
Computes the geometric union of a
Collection
of Geometry s. |
Constructor and Description |
---|
UnaryUnionOp(java.util.Collection geoms,
GeometryFactory geomFact)
Constructs a unary union operation for a
Collection
of Geometry s. |
Modifier and Type | Field and Description |
---|---|
private GeometryFactory |
ConnectedInteriorTester.geometryFactory |
Modifier and Type | Method and Description |
---|---|
private GeometryFactory |
GeometryPrecisionReducer.createFactory(GeometryFactory inputFactory,
PrecisionModel pm) |
Modifier and Type | Method and Description |
---|---|
private GeometryEditor |
GeometryPrecisionReducer.createEditor(GeometryFactory geomFactory,
PrecisionModel newPM) |
private GeometryFactory |
GeometryPrecisionReducer.createFactory(GeometryFactory inputFactory,
PrecisionModel pm) |
Modifier and Type | Field and Description |
---|---|
protected GeometryFactory |
GeometricShapeBuilder.geomFactory |
Constructor and Description |
---|
GeometricShapeBuilder(GeometryFactory geomFactory) |
Constructor and Description |
---|
KochSnowflakeBuilder(GeometryFactory geomFactory) |
SierpinskiCarpetBuilder(GeometryFactory geomFactory) |
Constructor and Description |
---|
RandomPointsBuilder(GeometryFactory geomFact)
Create a shape factory which will create shapes using the given
GeometryFactory . |
RandomPointsInGridBuilder(GeometryFactory geomFact)
Create a builder which will create shapes using the given
GeometryFactory . |
Modifier and Type | Method and Description |
---|---|
Geometry |
VoronoiDiagramBuilder.getDiagram(GeometryFactory geomFact)
Gets the faces of the computed diagram as a
GeometryCollection
of Polygon s, clipped as specified. |
Geometry |
DelaunayTriangulationBuilder.getEdges(GeometryFactory geomFact)
Gets the edges of the computed triangulation as a
MultiLineString . |
Geometry |
ConformingDelaunayTriangulationBuilder.getEdges(GeometryFactory geomFact)
Gets the edges of the computed triangulation as a
MultiLineString . |
Geometry |
DelaunayTriangulationBuilder.getTriangles(GeometryFactory geomFact)
Gets the faces of the computed triangulation as a
GeometryCollection
of Polygon . |
Geometry |
ConformingDelaunayTriangulationBuilder.getTriangles(GeometryFactory geomFact)
Gets the faces of the computed triangulation as a
GeometryCollection
of Polygon . |
Modifier and Type | Method and Description |
---|---|
Geometry |
QuadEdgeSubdivision.getEdges(GeometryFactory geomFact)
Gets the geometry for the edges in the subdivision as a
MultiLineString
containing 2-point lines. |
Polygon |
QuadEdgeTriangle.getGeometry(GeometryFactory fact) |
Geometry |
QuadEdgeSubdivision.getTriangles(GeometryFactory geomFact)
Gets the geometry for the triangles in a triangulated subdivision as a
GeometryCollection
of triangular Polygon s. |
Polygon |
QuadEdgeSubdivision.getVoronoiCellPolygon(QuadEdge qe,
GeometryFactory geomFact)
Gets the Voronoi cell around a site specified
by the origin of a QuadEdge.
|
java.util.List |
QuadEdgeSubdivision.getVoronoiCellPolygons(GeometryFactory geomFact)
Gets a List of
Polygon s for the Voronoi cells
of this triangulation. |
Geometry |
QuadEdgeSubdivision.getVoronoiDiagram(GeometryFactory geomFact)
Gets the cells in the Voronoi diagram for this triangulation.
|
Modifier and Type | Field and Description |
---|---|
private static GeometryFactory |
Debug.fact |
protected GeometryFactory |
GeometricShapeFactory.geomFact |
Constructor and Description |
---|
GeometricShapeFactory(GeometryFactory geomFact)
Create a shape factory which will create shapes using the given
GeometryFactory . |
Modifier and Type | Field and Description |
---|---|
(package private) static GeometryFactory |
PreparedGeometryExample.geomFact |
Modifier and Type | Class and Description |
---|---|
(package private) class |
FixingGeometryFactory
A GeometryFactory extension which fixes structurally bad coordinate sequences
used to create LinearRings.
|
Modifier and Type | Field and Description |
---|---|
private GeometryFactory |
KMLHandler.fact |
Modifier and Type | Field and Description |
---|---|
(package private) static GeometryFactory |
LinearRefExample.fact |
Modifier and Type | Field and Description |
---|---|
(package private) static GeometryFactory |
ClosestPointExample.fact |
Modifier and Type | Field and Description |
---|---|
(package private) static GeometryFactory |
SearchUsingPreparedGeometryIndex.geomFact |
Modifier and Type | Field and Description |
---|---|
private GeometryFactory |
CleanDuplicatePoints.fact |
Modifier and Type | Method and Description |
---|---|
static GeometryFactory |
FunctionsUtil.getFactoryOrDefault(Geometry g) |
static GeometryFactory |
FunctionsUtil.getFactoryOrDefault(Geometry g1,
Geometry g2) |
Modifier and Type | Method and Description |
---|---|
private static void |
SpatialIndexFunctions.addBounds(Boundable bnd,
java.util.List bounds,
GeometryFactory factory) |
Modifier and Type | Method and Description |
---|---|
static GeometryFactory |
JTSTestBuilder.getGeometryFactory() |
Modifier and Type | Field and Description |
---|---|
private GeometryFactory |
GeometryCombiner.geomFactory |
Modifier and Type | Method and Description |
---|---|
Geometry |
GeometryBoxDeleter.BoxDeleteComponentOperation.edit(Geometry geometry,
GeometryFactory factory) |
Constructor and Description |
---|
GeometryCombiner(GeometryFactory geomFactory) |
Modifier and Type | Field and Description |
---|---|
private GeometryFactory |
Shapefile.geomFactory |
Modifier and Type | Method and Description |
---|---|
Geometry |
ShapeHandler.read(EndianDataInputStream file,
GeometryFactory geometryFactory,
int contentLength) |
Geometry |
PolygonHandler.read(EndianDataInputStream file,
GeometryFactory geometryFactory,
int contentLength) |
Geometry |
PointHandler.read(EndianDataInputStream file,
GeometryFactory geometryFactory,
int contentLength) |
Geometry |
MultiPointHandler.read(EndianDataInputStream file,
GeometryFactory geometryFactory,
int contentLength) |
Geometry |
MultiLineHandler.read(EndianDataInputStream file,
GeometryFactory geometryFactory,
int contentLength) |
GeometryCollection |
Shapefile.read(GeometryFactory geometryFactory)
Initialises a shapefile from disk.
|
void |
Shapefile.readStream(GeometryFactory geometryFactory)
Initialises a shapefile from disk.
|
Modifier and Type | Field and Description |
---|---|
private GeometryFactory |
TestBuilderModel.geometryFactory |
Modifier and Type | Method and Description |
---|---|
GeometryFactory |
TestBuilderModel.getGeometryFactory() |
Modifier and Type | Field and Description |
---|---|
private GeometryFactory |
TestReader.geometryFactory |
Modifier and Type | Field and Description |
---|---|
private GeometryFactory |
GeoJsonMultiReader.geomFact |
private GeometryFactory |
WKTOrWKBReader.geomFactory |
private GeometryFactory |
MultiFormatReader.geomFactory |
Modifier and Type | Method and Description |
---|---|
static Geometry |
IOUtil.readFile(java.lang.String filename,
GeometryFactory geomFact) |
private static Geometry |
IOUtil.readGeoJSONFile(java.lang.String filename,
GeometryFactory geomFact) |
static Geometry |
IOUtil.readGeoJSONString(java.lang.String s,
GeometryFactory geomFact) |
private static Geometry |
IOUtil.readGMLFile(java.lang.String filename,
GeometryFactory geomFact) |
static Geometry |
IOUtil.readGMLString(java.lang.String gml,
GeometryFactory geomFact) |
private static Geometry |
IOUtil.readShapefile(java.lang.String filename,
GeometryFactory geomFact) |
private static Geometry |
IOUtil.readWKBHexFile(java.lang.String filename,
GeometryFactory geomFact) |
static Geometry |
IOUtil.readWKBHexString(java.lang.String wkb,
GeometryFactory geomFact) |
private static Geometry |
IOUtil.readWKTFile(java.lang.String filename,
GeometryFactory geomFact) |
static Geometry |
IOUtil.readWKTString(java.lang.String wkt,
GeometryFactory geomFact)
Reads one or more WKT geometries from a string.
|
Constructor and Description |
---|
GeoJsonMultiReader(GeometryFactory geomFact) |
MultiFormatReader(GeometryFactory geomFactory) |
WKTOrWKBReader(GeometryFactory geomFactory) |