Package | Description |
---|---|
org.locationtech.jts.algorithm.distance |
Classes to compute distance metrics between geometries.
|
org.locationtech.jts.algorithm.locate |
Classes to determine the topological location of points in geometries.
|
org.locationtech.jts.geom |
Contains the
Geometry interface hierarchy and supporting classes. |
org.locationtech.jts.geomgraph |
Contains classes that implement topology graphs.
|
org.locationtech.jts.operation.buffer.validate |
Classes to perform validation of the results of buffer operations.
|
org.locationtech.jts.operation.distance3d | |
org.locationtech.jts.operation.predicate |
Classes which implement topological predicates optimized for particular kinds of geometries.
|
org.locationtech.jts.triangulate.polygon |
Classes for triangulating polygons.
|
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.
|
Modifier and Type | Method and Description |
---|---|
static void |
DistanceToPoint.computeDistance(Polygon poly,
Coordinate pt,
PointPairDistance ptDist) |
Modifier and Type | Method and Description |
---|---|
static boolean |
SimplePointInAreaLocator.containsPointInPolygon(Coordinate p,
Polygon poly)
Determines whether a point lies in a
Polygon . |
static int |
SimplePointInAreaLocator.locatePointInPolygon(Coordinate p,
Polygon poly)
|
Modifier and Type | Method and Description |
---|---|
Polygon |
GeometryFactory.createPolygon()
Constructs an empty
Polygon geometry. |
Polygon |
GeometryFactory.createPolygon(Coordinate[] shell)
Constructs a
Polygon with the given exterior boundary. |
Polygon |
GeometryFactory.createPolygon(CoordinateSequence shell)
Constructs a
Polygon with the given exterior boundary. |
Polygon |
GeometryFactory.createPolygon(LinearRing shell)
Constructs a
Polygon with the given exterior boundary. |
Polygon |
GeometryFactory.createPolygon(LinearRing shell,
LinearRing[] holes)
Constructs a
Polygon with the given exterior boundary and
interior boundaries. |
Polygon |
Polygon.reverse() |
static Polygon[] |
GeometryFactory.toPolygonArray(Collection polygons)
Converts the
List to an array. |
Modifier and Type | Method and Description |
---|---|
MultiPolygon |
GeometryFactory.createMultiPolygon(Polygon[] polygons)
Creates a MultiPolygon using the given Polygons; a null or empty array
will create an empty Polygon.
|
Constructor and Description |
---|
MultiPolygon(Polygon[] polygons,
GeometryFactory factory) |
MultiPolygon(Polygon[] polygons,
PrecisionModel precisionModel,
int SRID)
Deprecated.
Use GeometryFactory instead
|
Modifier and Type | Method and Description |
---|---|
Polygon |
EdgeRing.toPolygon(GeometryFactory geometryFactory) |
Modifier and Type | Method and Description |
---|---|
static void |
DistanceToPointFinder.computeDistance(Polygon poly,
Coordinate pt,
PointPairDistance ptDist) |
Modifier and Type | Method and Description |
---|---|
Polygon |
PlanarPolygon3D.getPolygon() |
Constructor and Description |
---|
PlanarPolygon3D(Polygon poly) |
Modifier and Type | Method and Description |
---|---|
static boolean |
RectangleContains.contains(Polygon rectangle,
Geometry b)
Tests whether a rectangle contains a given geometry.
|
static boolean |
RectangleIntersects.intersects(Polygon rectangle,
Geometry b)
Tests whether a rectangle intersects a given geometry.
|
Constructor and Description |
---|
RectangleContains(Polygon rectangle)
Create a new contains computer for two geometries.
|
RectangleIntersects(Polygon rectangle)
Create a new intersects computer for a rectangle.
|
Modifier and Type | Method and Description |
---|---|
static Polygon |
PolygonHoleJoiner.joinAsPolygon(Polygon polygon)
Joins the shell and holes of a polygon
and returns the result as an (invalid) Polygon.
|
Modifier and Type | Method and Description |
---|---|
static Coordinate[] |
PolygonHoleJoiner.join(Polygon polygon)
Joins the shell and holes of a polygon
and returns the result as sequence of Coordinates.
|
static Polygon |
PolygonHoleJoiner.joinAsPolygon(Polygon polygon)
Joins the shell and holes of a polygon
and returns the result as an (invalid) Polygon.
|
Constructor and Description |
---|
PolygonHoleJoiner(Polygon polygon)
Creates a new hole joiner.
|
Modifier and Type | Method and Description |
---|---|
Polygon |
QuadEdgeTriangle.getGeometry(GeometryFactory fact) |
Polygon |
QuadEdgeSubdivision.getVoronoiCellPolygon(QuadEdge qe,
GeometryFactory geomFact)
Gets the Voronoi cell around a site specified
by the origin of a QuadEdge.
|
Modifier and Type | Method and Description |
---|---|
Polygon |
Tri.toPolygon(GeometryFactory geomFact)
Creates a
Polygon representing this triangle. |
Modifier and Type | Method and Description |
---|---|
Polygon |
GeometricShapeFactory.createArcPolygon(double startAng,
double angExtent)
Creates an elliptical arc polygon.
|
Polygon |
GeometricShapeFactory.createCircle()
Creates a circular or elliptical
Polygon . |
Polygon |
GeometricShapeFactory.createEllipse()
Creates an elliptical
Polygon . |
Polygon |
GeometricShapeFactory.createRectangle()
Creates a rectangular
Polygon . |
Polygon |
GeometricShapeFactory.createSquircle()
Creates a squircular
Polygon . |
Polygon |
GeometricShapeFactory.createSupercircle(double power)
Creates a supercircular
Polygon
of a given positive power. |
Copyright © 2024. All rights reserved.