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.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.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.union |
Classes to perform efficent unioning of collections 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.jtslab.geom.util |
Constructor | Description |
---|---|
ConvexHull(Coordinate[] pts,
GeometryFactory geomFactory) |
Create a new convex hull construction for the input
Coordinate array. |
Modifier and Type | Method | Description |
---|---|---|
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. |
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.
|
Constructor | Description |
---|---|
ShapeReader(GeometryFactory geometryFactory) |
Modifier and Type | Method | Description |
---|---|---|
GeometryFactory |
Geometry.getFactory() |
Gets the factory which contains the context in which this geometry was created.
|
Modifier and Type | Method | Description |
---|---|---|
LineString |
LineSegment.toGeometry(GeometryFactory geomFactory) |
Creates a LineString with the same coordinates as this segment
|
Geometry |
OctagonalEnvelope.toGeometry(GeometryFactory geomFactory) |
Constructor | Description |
---|---|
Geometry(GeometryFactory factory) |
Creates a new
Geometry via the specified GeometryFactory. |
GeometryCollection(Geometry[] geometries,
GeometryFactory factory) |
|
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 | Method | Description |
---|---|---|
static GeometryFactory |
GeometryCombiner.extractFactory(java.util.Collection geoms) |
Extracts the GeometryFactory used by the geometries in a collection
|
Modifier and Type | Method | Description |
---|---|---|
Geometry |
GeometryEditor.CoordinateOperation.edit(Geometry geometry,
GeometryFactory factory) |
|
Geometry |
GeometryEditor.CoordinateSequenceOperation.edit(Geometry geometry,
GeometryFactory factory) |
|
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) |
Constructor | 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 | Method | Description |
---|---|---|
Polygon |
EdgeRing.toPolygon(GeometryFactory geometryFactory) |
Constructor | Description |
---|---|
EdgeRing(DirectedEdge start,
GeometryFactory geometryFactory) |
Constructor | Description |
---|---|
WKBReader(GeometryFactory geometryFactory) |
|
WKTReader(GeometryFactory geometryFactory) |
Creates a reader that creates objects using the given
GeometryFactory . |
Constructor | 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 | Method | Description |
---|---|---|
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 | Description |
---|---|
GMLHandler(GeometryFactory gf,
org.xml.sax.ErrorHandler delegate) |
Creates a new handler.
|
Constructor | Description |
---|---|
LinearGeometryBuilder(GeometryFactory geomFact) |
Modifier and Type | Method | Description |
---|---|---|
static Geometry |
SegmentStringUtil.toGeometry(java.util.Collection segStrings,
GeometryFactory geomFact) |
Converts a collection of
SegmentString s into a Geometry . |
Constructor | Description |
---|---|
EdgeString(GeometryFactory factory) |
Constructs an EdgeString with the given factory used to convert this EdgeString
to a LineString
|
Modifier and Type | Method | 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 | 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 | Method | Description |
---|---|---|
static Geometry |
UnaryUnionOp.union(java.util.Collection geoms,
GeometryFactory geomFact) |
Computes the geometric union of a
Collection
of Geometry s. |
Constructor | Description |
---|---|
UnaryUnionOp(java.util.Collection geoms,
GeometryFactory geomFact) |
Constructs a unary union operation for a
Collection
of Geometry s. |
Constructor | Description |
---|---|
GeometricShapeBuilder(GeometryFactory geomFactory) |
Constructor | Description |
---|---|
KochSnowflakeBuilder(GeometryFactory geomFactory) |
|
SierpinskiCarpetBuilder(GeometryFactory geomFactory) |
Constructor | 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 | Description |
---|---|---|
Geometry |
VoronoiDiagramBuilder.getDiagram(GeometryFactory geomFact) |
Gets the faces of the computed diagram as a
GeometryCollection
of Polygon s, clipped as specified. |
Geometry |
ConformingDelaunayTriangulationBuilder.getEdges(GeometryFactory geomFact) |
Gets the edges of the computed triangulation as a
MultiLineString . |
Geometry |
DelaunayTriangulationBuilder.getEdges(GeometryFactory geomFact) |
Gets the edges of the computed triangulation as a
MultiLineString . |
Geometry |
ConformingDelaunayTriangulationBuilder.getTriangles(GeometryFactory geomFact) |
Gets the faces of the computed triangulation as a
GeometryCollection
of Polygon . |
Geometry |
DelaunayTriangulationBuilder.getTriangles(GeometryFactory geomFact) |
Gets the faces of the computed triangulation as a
GeometryCollection
of Polygon . |
Modifier and Type | Method | 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.
|
Constructor | Description |
---|---|
GeometricShapeFactory(GeometryFactory geomFact) |
Create a shape factory which will create shapes using the given
GeometryFactory . |
Modifier and Type | Method | Description |
---|---|---|
Geometry |
GeometryEditorEx.CoordinateOperation.edit(Geometry geometry,
GeometryFactory targetFactory) |
|
abstract CoordinateSequence |
GeometryEditorEx.CoordinateSequenceOperation.edit(CoordinateSequence coordSeq,
Geometry geometry,
GeometryFactory targetFactory) |
Edits a
CoordinateSequence from a Geometry . |
Geometry |
GeometryEditorEx.CoordinateSequenceOperation.edit(Geometry geometry,
GeometryFactory targetFactory) |
|
Geometry |
GeometryEditorEx.GeometryEditorOperation.edit(Geometry geometry,
GeometryFactory targetFactory) |
Edits a Geometry by returning a new Geometry with a modification.
|
Geometry |
GeometryEditorEx.NoOpGeometryOperation.edit(Geometry geometry,
GeometryFactory targetFactory) |
Constructor | Description |
---|---|
GeometryEditorEx(GeometryFactory targetFactory) |
Creates a new GeometryEditor object which will create
edited
Geometry s with the given GeometryFactory . |
GeometryEditorEx(GeometryEditorEx.GeometryEditorOperation operation,
GeometryFactory targetFactory) |
Creates a GeometryEditor which edits geometries using
a given
GeometryOperation
and the given GeometryFactory . |
Copyright © 2018. All rights reserved.