Uses of Class
org.locationtech.jts.geom.Polygon
-
Packages that use Polygon Package Description org.locationtech.jts.algorithm.axis 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 theGeometry
interface hierarchy and supporting classes.org.locationtech.jts.geomgraph Contains classes that implement topology graphs.org.locationtech.jts.io.geojson 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. -
-
Uses of Polygon in org.locationtech.jts.algorithm.axis
Constructors in org.locationtech.jts.algorithm.axis with parameters of type Polygon Constructor Description ApproximateMedialAxis(Polygon polygon)
-
Uses of Polygon in org.locationtech.jts.algorithm.distance
Methods in org.locationtech.jts.algorithm.distance with parameters of type Polygon Modifier and Type Method Description static 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 Polygon Modifier and Type Method Description static 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 Polygon Modifier and Type Method Description Polygon
GeometryFactory. createPolygon()
Constructs an emptyPolygon
geometry.Polygon
GeometryFactory. createPolygon(Coordinate[] shell)
Constructs aPolygon
with the given exterior boundary.Polygon
GeometryFactory. createPolygon(CoordinateSequence shell)
Constructs aPolygon
with the given exterior boundary.Polygon
GeometryFactory. createPolygon(LinearRing shell)
Constructs aPolygon
with the given exterior boundary.Polygon
GeometryFactory. createPolygon(LinearRing shell, LinearRing[] holes)
Constructs aPolygon
with the given exterior boundary and interior boundaries.Polygon
Polygon. reverse()
static Polygon[]
GeometryFactory. toPolygonArray(java.util.Collection polygons)
Converts theList
to an array.Methods in org.locationtech.jts.geom with parameters of type Polygon 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.Constructors in org.locationtech.jts.geom with parameters of type Polygon Constructor Description MultiPolygon(Polygon[] polygons, GeometryFactory factory)
MultiPolygon(Polygon[] polygons, PrecisionModel precisionModel, int SRID)
Deprecated.Use GeometryFactory instead -
Uses of Polygon in org.locationtech.jts.geomgraph
Methods in org.locationtech.jts.geomgraph that return Polygon Modifier and Type Method Description Polygon
EdgeRing. toPolygon(GeometryFactory geometryFactory)
-
Uses of Polygon in org.locationtech.jts.io.geojson
Methods in org.locationtech.jts.io.geojson that return Polygon Modifier and Type Method Description static 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 Polygon Modifier and Type Method Description static 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 Polygon Modifier and Type Method Description static 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 Polygon Modifier and Type Method Description Polygon
PlanarPolygon3D. getPolygon()
Constructors in org.locationtech.jts.operation.distance3d with parameters of type Polygon Constructor Description PlanarPolygon3D(Polygon poly)
-
Uses of Polygon in org.locationtech.jts.operation.predicate
Methods in org.locationtech.jts.operation.predicate with parameters of type Polygon 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.Constructors in org.locationtech.jts.operation.predicate with parameters of type Polygon Constructor Description RectangleContains(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 Polygon Modifier and Type Method Description static Polygon
PolygonHoleJoiner. joinAsPolygon(Polygon inputPolygon)
Methods in org.locationtech.jts.triangulate.polygon with parameters of type Polygon Modifier and Type Method Description static Coordinate[]
PolygonHoleJoiner. join(Polygon inputPolygon)
static Polygon
PolygonHoleJoiner. joinAsPolygon(Polygon inputPolygon)
Constructors in org.locationtech.jts.triangulate.polygon with parameters of type Polygon Constructor Description PolygonHoleJoiner(Polygon inputPolygon)
-
Uses of Polygon in org.locationtech.jts.triangulate.quadedge
Methods in org.locationtech.jts.triangulate.quadedge that return Polygon 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. -
Uses of Polygon in org.locationtech.jts.triangulate.tri
Methods in org.locationtech.jts.triangulate.tri that return Polygon Modifier and Type Method Description Polygon
Tri. toPolygon(GeometryFactory geomFact)
Creates aPolygon
representing this triangle. -
Uses of Polygon in org.locationtech.jts.util
Methods in org.locationtech.jts.util that return Polygon Modifier and Type Method Description Polygon
GeometricShapeFactory. createArcPolygon(double startAng, double angExtent)
Creates an elliptical arc polygon.Polygon
GeometricShapeFactory. createCircle()
Creates a circular or ellipticalPolygon
.Polygon
GeometricShapeFactory. createEllipse()
Creates an ellipticalPolygon
.Polygon
GeometricShapeFactory. createRectangle()
Creates a rectangularPolygon
.Polygon
GeometricShapeFactory. createSquircle()
Creates a squircularPolygon
.Polygon
GeometricShapeFactory. createSupercircle(double power)
Creates a supercircularPolygon
of a given positive power.
-