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.gml2 |
Classes to read and write the GML2 geometry format.
|
org.locationtech.jts.io.kml | |
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.overlayng |
Contains classes that perform vector overlay
to compute boolean set-theoretic spatial functions.
|
org.locationtech.jts.operation.union |
Classes to perform efficient 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.triangulate.tri |
Classes for representing a planar triangulation as a set of linked triangles.
|
org.locationtech.jts.util |
Contains support classes for the Java Topology Suite.
|
Constructor and Description |
---|
ConvexHull(Coordinate[] pts,
GeometryFactory geomFactory)
Create a new convex hull construction for the input
Coordinate array. |
Modifier and Type | Method and Description |
---|---|
static Geometry |
ShapeReader.read(PathIterator pathIt,
GeometryFactory geomFact)
Converts a flat path to a
Geometry . |
static Geometry |
ShapeReader.read(Shape shp,
double flatness,
GeometryFactory geomFact)
Converts a Shape to a Geometry, flattening it first.
|
static Geometry |
FontGlyphReader.read(String text,
Font font,
double flatness,
GeometryFactory geomFact)
|
static Geometry |
FontGlyphReader.read(String text,
Font font,
GeometryFactory geomFact)
|
static Geometry |
FontGlyphReader.read(String text,
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 | 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 |
---|---|
LineString |
LineSegment.toGeometry(GeometryFactory geomFactory)
Creates a LineString with the same coordinates as this segment
|
Geometry |
OctagonalEnvelope.toGeometry(GeometryFactory geomFactory) |
Constructor and 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 and Description |
---|---|
static GeometryFactory |
GeometryCombiner.extractFactory(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 | Method and Description |
---|---|
Polygon |
EdgeRing.toPolygon(GeometryFactory geometryFactory) |
Constructor and Description |
---|
EdgeRing(DirectedEdge start,
GeometryFactory geometryFactory) |
Constructor and Description |
---|
WKBReader(GeometryFactory geometryFactory) |
WKTReader(GeometryFactory geometryFactory)
Creates a reader that creates objects using the given
GeometryFactory . |
Modifier and Type | Method and Description |
---|---|
Geometry |
GMLReader.read(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(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,
ErrorHandler delegate)
Creates a new handler.
|
Constructor and Description |
---|
KMLReader(GeometryFactory geometryFactory)
Creates a reader that creates objects using the given
GeometryFactory . |
KMLReader(GeometryFactory geometryFactory,
Collection<String> attributeNames)
Creates a reader that creates objects using the given
GeometryFactory . |
Constructor and Description |
---|
LinearGeometryBuilder(GeometryFactory geomFact) |
Modifier and Type | Method and Description |
---|---|
static Geometry |
SegmentStringUtil.toGeometry(Collection segStrings,
GeometryFactory geomFact)
Converts a collection of
SegmentString s into a Geometry . |
Constructor and Description |
---|
EdgeString(GeometryFactory factory)
Constructs an EdgeString with the given factory used to convert this EdgeString
to a LineString
|
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 | Method and Description |
---|---|
static Geometry |
OverlayNGRobust.union(Collection<Geometry> geoms,
GeometryFactory geomFact)
Computes the unary union of a collection of geometries using robust computation.
|
static Geometry |
UnaryUnionNG.union(Collection<Geometry> geoms,
GeometryFactory geomFact,
PrecisionModel pm)
Unions a collection of geometries
using a given precision model.
|
Modifier and Type | Method and Description |
---|---|
static Geometry |
UnaryUnionOp.union(Collection geoms,
GeometryFactory geomFact)
Computes the geometric union of a
Collection
of Geometry s. |
Constructor and Description |
---|
UnaryUnionOp(Collection geoms,
GeometryFactory geomFact)
Constructs a unary union operation for a
Collection
of Geometry s. |
Constructor and Description |
---|
GeometricShapeBuilder(GeometryFactory geomFactory) |
Constructor and Description |
---|
HilbertCurveBuilder(GeometryFactory geomFactory)
Creates a new instance using the provided
GeometryFactory . |
KochSnowflakeBuilder(GeometryFactory geomFactory) |
MortonCurveBuilder(GeometryFactory geomFactory)
Creates a new instance using the provided
GeometryFactory . |
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 |
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 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.
|
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 | Method and Description |
---|---|
static Geometry |
Tri.toGeometry(Collection<Tri> tris,
GeometryFactory geomFact)
Creates a
GeometryCollection of Polygon s
representing the triangles in a list. |
Polygon |
Tri.toPolygon(GeometryFactory geomFact)
Creates a
Polygon representing this triangle. |
Constructor and Description |
---|
GeometricShapeFactory(GeometryFactory geomFact)
Create a shape factory which will create shapes using the given
GeometryFactory . |
Copyright © 2022. All rights reserved.