Uses of Class
org.locationtech.jts.geom.Polygon
Packages that use Polygon
Package
Description
Classes to compute distance metrics between geometries.
Classes to determine the topological location of points in geometries.
Contains the
Geometry
interface hierarchy and supporting classes.Provides classes that parse and modify Geometry objects.
Contains classes that implement topology graphs.
Classes to perform validation of the results of buffer operations.
Classes which implement topological predicates optimized for particular kinds of geometries.
Classes for triangulating polygons.
Classes to implement a topological subdivision of quadeges, to support creating triangulations
and Voronoi diagrams.
Classes for representing a planar triangulation as a set of linked triangles.
Contains support classes for the Java Topology Suite.
-
Uses of Polygon in org.locationtech.jts.algorithm.axis
Constructors in org.locationtech.jts.algorithm.axis with parameters of type Polygon -
Uses of Polygon in org.locationtech.jts.algorithm.distance
Methods in org.locationtech.jts.algorithm.distance with parameters of type PolygonModifier and TypeMethodDescriptionstatic void
DistanceToPoint.computeDistance
(Polygon poly, Coordinate pt, PointPairDistance ptDist) -
Uses of Polygon in org.locationtech.jts.algorithm.locate
Methods in org.locationtech.jts.algorithm.locate with parameters of type PolygonModifier and TypeMethodDescriptionstatic boolean
SimplePointInAreaLocator.containsPointInPolygon
(Coordinate p, Polygon poly) Determines whether a point lies in aPolygon
.static int
SimplePointInAreaLocator.locatePointInPolygon
(Coordinate p, Polygon poly) -
Uses of Polygon in org.locationtech.jts.geom
Methods in org.locationtech.jts.geom that return PolygonModifier and TypeMethodDescriptionprotected Polygon
Polygon.copyInternal()
GeometryFactory.createPolygon()
Constructs an emptyPolygon
geometry.GeometryFactory.createPolygon
(Coordinate[] shell) Constructs aPolygon
with the given exterior boundary.GeometryFactory.createPolygon
(CoordinateSequence shell) Constructs aPolygon
with the given exterior boundary.GeometryFactory.createPolygon
(LinearRing shell) Constructs aPolygon
with the given exterior boundary.GeometryFactory.createPolygon
(LinearRing shell, LinearRing[] holes) Constructs aPolygon
with the given exterior boundary and interior boundaries.Polygon.reverse()
protected Polygon
Polygon.reverseInternal()
static Polygon[]
GeometryFactory.toPolygonArray
(Collection polygons) Converts theList
to an array.Methods in org.locationtech.jts.geom with parameters of type PolygonModifier and TypeMethodDescriptionGeometryFactory.createMultiPolygon
(Polygon[] polygons) Creates a MultiPolygon using the given Polygons; a null or empty array will create an empty Polygon.Constructors in org.locationtech.jts.geom with parameters of type PolygonModifierConstructorDescriptionMultiPolygon
(Polygon[] polygons, GeometryFactory factory) MultiPolygon
(Polygon[] polygons, PrecisionModel precisionModel, int SRID) Deprecated.Use GeometryFactory instead -
Uses of Polygon in org.locationtech.jts.geom.util
Methods in org.locationtech.jts.geom.util with parameters of type PolygonModifier and TypeMethodDescriptionprotected Geometry
GeometryTransformer.transformPolygon
(Polygon geom, Geometry parent) -
Uses of Polygon in org.locationtech.jts.geomgraph
Methods in org.locationtech.jts.geomgraph that return Polygon -
Uses of Polygon in org.locationtech.jts.io.geojson
Methods in org.locationtech.jts.io.geojson that return PolygonModifier and TypeMethodDescriptionstatic Polygon
OrientationTransformer.transformCCW
(Polygon polygon) Transforms a polygon using the Right Hand Rule specifications defined in the latest GeoJSON specification.Methods in org.locationtech.jts.io.geojson with parameters of type PolygonModifier and TypeMethodDescriptionstatic Polygon
OrientationTransformer.transformCCW
(Polygon polygon) Transforms a polygon using the Right Hand Rule specifications defined in the latest GeoJSON specification. -
Uses of Polygon in org.locationtech.jts.operation.buffer.validate
Methods in org.locationtech.jts.operation.buffer.validate with parameters of type PolygonModifier and TypeMethodDescriptionstatic void
DistanceToPointFinder.computeDistance
(Polygon poly, Coordinate pt, PointPairDistance ptDist) -
Uses of Polygon in org.locationtech.jts.operation.distance3d
Methods in org.locationtech.jts.operation.distance3d that return PolygonConstructors in org.locationtech.jts.operation.distance3d with parameters of type Polygon -
Uses of Polygon in org.locationtech.jts.operation.predicate
Methods in org.locationtech.jts.operation.predicate with parameters of type PolygonModifier and TypeMethodDescriptionstatic boolean
Tests whether a rectangle contains a given geometry.static boolean
RectangleIntersects.intersects
(Polygon rectangle, Geometry b) Tests whether a rectangle intersects a given geometry.Constructors in org.locationtech.jts.operation.predicate with parameters of type PolygonModifierConstructorDescriptionRectangleContains
(Polygon rectangle) Create a new contains computer for two geometries.RectangleIntersects
(Polygon rectangle) Create a new intersects computer for a rectangle. -
Uses of Polygon in org.locationtech.jts.triangulate.polygon
Methods in org.locationtech.jts.triangulate.polygon that return PolygonModifier and TypeMethodDescriptionstatic Polygon
PolygonHoleJoiner.joinAsPolygon
(Polygon inputPolygon) Methods in org.locationtech.jts.triangulate.polygon with parameters of type PolygonModifier and TypeMethodDescriptionstatic Coordinate[]
static Polygon
PolygonHoleJoiner.joinAsPolygon
(Polygon inputPolygon) Constructors in org.locationtech.jts.triangulate.polygon with parameters of type Polygon -
Uses of Polygon in org.locationtech.jts.triangulate.quadedge
Methods in org.locationtech.jts.triangulate.quadedge that return PolygonModifier and TypeMethodDescriptionQuadEdgeTriangle.getGeometry
(GeometryFactory fact) QuadEdgeSubdivision.getVoronoiCellPolygon
(QuadEdge qe, GeometryFactory geomFact) Gets the Voronoi cell around a site specified by the origin of a QuadEdge. -
Uses of Polygon in org.locationtech.jts.triangulate.tri
Methods in org.locationtech.jts.triangulate.tri that return PolygonModifier and TypeMethodDescriptionTri.toPolygon
(GeometryFactory geomFact) Creates aPolygon
representing this triangle. -
Uses of Polygon in org.locationtech.jts.util
Methods in org.locationtech.jts.util that return PolygonModifier and TypeMethodDescriptionGeometricShapeFactory.createArcPolygon
(double startAng, double angExtent) Creates an elliptical arc polygon.GeometricShapeFactory.createCircle()
Creates a circular or ellipticalPolygon
.GeometricShapeFactory.createEllipse()
Creates an ellipticalPolygon
.GeometricShapeFactory.createRectangle()
Creates a rectangularPolygon
.GeometricShapeFactory.createSquircle()
Creates a squircularPolygon
.GeometricShapeFactory.createSupercircle
(double power) Creates a supercircularPolygon
of a given positive power. -
Uses of Polygon in org.locationtech.jtstest.testbuilder.geom
Methods in org.locationtech.jtstest.testbuilder.geom that return PolygonMethods in org.locationtech.jtstest.testbuilder.geom with parameters of type PolygonModifier and TypeMethodDescriptionGeometryCombiner.addHole
(Polygon poly, LinearRing hole) static Coordinate
ConstrainedInteriorPoint.getCoordinate
(Polygon poly) static Coordinate
ConstrainedInteriorPoint.getCoordinate
(Polygon poly, Envelope constraint) static Coordinate
ConstrainedInteriorPoint.getCoordinate
(Polygon poly, Geometry constraint) Constructors in org.locationtech.jtstest.testbuilder.geom with parameters of type Polygon