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.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.
|
Modifier and Type | Method | Description |
---|---|---|
static void |
DistanceToPoint.computeDistance(Polygon poly,
Coordinate pt,
PointPairDistance ptDist) |
Modifier and Type | Method | 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 | Description |
---|---|---|
Polygon |
GeometryFactory.createPolygon() |
|
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. |
static Polygon[] |
GeometryFactory.toPolygonArray(java.util.Collection polygons) |
Converts the
List to an array. |
Modifier and Type | Method | Description |
---|---|---|
MultiPolygon |
GeometryFactory.createMultiPolygon(Polygon[] polygons) |
Creates a MultiPolygon using the given Polygons; a null or empty array
will create an empty Polygon.
|
Constructor | Description |
---|---|
MultiPolygon(Polygon[] polygons,
GeometryFactory factory) |
|
MultiPolygon(Polygon[] polygons,
PrecisionModel precisionModel,
int SRID) |
Deprecated.
Use GeometryFactory instead
|
Modifier and Type | Method | Description |
---|---|---|
Polygon |
EdgeRing.toPolygon(GeometryFactory geometryFactory) |
Modifier and Type | Method | Description |
---|---|---|
static void |
DistanceToPointFinder.computeDistance(Polygon poly,
Coordinate pt,
PointPairDistance ptDist) |
Modifier and Type | Method | Description |
---|---|---|
Polygon |
PlanarPolygon3D.getPolygon() |
Constructor | Description |
---|---|
PlanarPolygon3D(Polygon poly) |
Modifier and Type | Method | 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 | 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 | 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 | 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 © 2018. All rights reserved.