Uses of Class
org.locationtech.jts.geom.Polygon
Packages that use Polygon
Package
Description
Contains classes and interfaces implementing fundamental computational geometry algorithms.
Classes to compute distance metrics between geometries.
Classes to determine the topological location of points in geometries.
Classes to perform conversions from Java2D shape objects.
Classes to perform densification on geometries.
Contains the
Geometry interface hierarchy and supporting classes.Provides classes that parse and modify Geometry objects.
Contains classes that implement topology graphs.
Contains the interfaces for converting JTS objects to and from other formats.
Classes to read and write the GML2 geometry format.
Provides classes for computing buffers of geometries
Classes to perform validation of the results of buffer operations.
Provides classes for computing the distance between geometries
An API for polygonizing sets of lines.
Classes which implement topological predicates optimized for particular kinds of geometries.
Provides classes for testing the validity of geometries.
Classes which implement algorithms for simplifying or generalizing geometries.
Classes to implement a topological subdivision of quadeges, to support creating triangulations
and Voronoi diagrams.
Contains support classes for the Java Topology Suite.
-
Uses of Polygon in org.locationtech.jts.algorithm
Fields in org.locationtech.jts.algorithm declared as PolygonMethods in org.locationtech.jts.algorithm with parameters of type PolygonModifier and TypeMethodDescriptionprivate voidstatic doubleInteriorPointArea.SafeBisectorFinder.getBisectorY(Polygon poly) private intPointLocator.locateInPolygon(Coordinate p, Polygon poly) Constructors in org.locationtech.jts.algorithm 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 voidDistanceToPoint.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 booleanSimplePointInAreaLocator.containsPointInPolygon(Coordinate p, Polygon poly) Determines whether a point lies in aPolygon.static intSimplePointInAreaLocator.locatePointInPolygon(Coordinate p, Polygon poly) -
Uses of Polygon in org.locationtech.jts.awt
Methods in org.locationtech.jts.awt with parameters of type Polygon -
Uses of Polygon in org.locationtech.jts.densify
Methods in org.locationtech.jts.densify with parameters of type PolygonModifier and TypeMethodDescriptionprotected GeometryDensifier.DensifyTransformer.transformPolygon(Polygon geom, Geometry parent) -
Uses of Polygon in org.locationtech.jts.geom
Methods in org.locationtech.jts.geom that return PolygonModifier and TypeMethodDescriptionPolygon.copy()Creates and returns a full copy of thisPolygonobject.GeometryFactory.createPolygon()GeometryFactory.createPolygon(Coordinate[] shell) Constructs aPolygonwith the given exterior boundary.GeometryFactory.createPolygon(CoordinateSequence shell) Constructs aPolygonwith the given exterior boundary.GeometryFactory.createPolygon(LinearRing shell) Constructs aPolygonwith the given exterior boundary.GeometryFactory.createPolygon(LinearRing shell, LinearRing[] holes) Constructs aPolygonwith the given exterior boundary and interior boundaries.static Polygon[]GeometryFactory.toPolygonArray(Collection polygons) Converts theListto 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 that return PolygonModifier and TypeMethodDescriptionprivate PolygonGeometryEditor.editPolygon(Polygon polygon, GeometryEditor.GeometryEditorOperation operation) Methods in org.locationtech.jts.geom.util with parameters of type PolygonModifier and TypeMethodDescriptionprivate PolygonGeometryEditor.editPolygon(Polygon polygon, GeometryEditor.GeometryEditorOperation operation) protected GeometryGeometryTransformer.transformPolygon(Polygon geom, Geometry parent) -
Uses of Polygon in org.locationtech.jts.geomgraph
Methods in org.locationtech.jts.geomgraph that return PolygonMethods in org.locationtech.jts.geomgraph with parameters of type Polygon -
Uses of Polygon in org.locationtech.jts.io
Methods in org.locationtech.jts.io that return PolygonModifier and TypeMethodDescriptionprivate PolygonWKBReader.readPolygon()private PolygonWKTReader.readPolygonText()Creates aPolygonusing the next token in the stream.Methods in org.locationtech.jts.io with parameters of type PolygonModifier and TypeMethodDescriptionprivate voidWKTWriter.appendPolygonTaggedText(Polygon polygon, int level, Writer writer) Converts aPolygonto <Polygon Tagged Text> format, then appends it to the writer.private voidWKTWriter.appendPolygonText(Polygon polygon, int level, boolean indentFirst, Writer writer) Converts aPolygonto <Polygon Text> format, then appends it to the writer.private voidWKBWriter.writePolygon(Polygon poly, OutStream os) -
Uses of Polygon in org.locationtech.jts.io.geojson
Methods in org.locationtech.jts.io.geojson with parameters of type PolygonModifier and TypeMethodDescriptionprivate List<org.json.simple.JSONAware> GeoJsonWriter.makeJsonAware(Polygon poly) -
Uses of Polygon in org.locationtech.jts.io.gml2
Methods in org.locationtech.jts.io.gml2 with parameters of type PolygonModifier and TypeMethodDescriptionprivate voidGMLWriter.writePolygon(Polygon p, Writer writer, int level) -
Uses of Polygon in org.locationtech.jts.io.kml
Methods in org.locationtech.jts.io.kml with parameters of type PolygonModifier and TypeMethodDescriptionprivate voidKMLWriter.writePolygon(Polygon p, String attributes, int level, StringBuffer buf) -
Uses of Polygon in org.locationtech.jts.operation.buffer
Methods in org.locationtech.jts.operation.buffer with parameters of type Polygon -
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 voidDistanceToPointFinder.computeDistance(Polygon poly, Coordinate pt, PointPairDistance ptDist) -
Uses of Polygon in org.locationtech.jts.operation.distance
Methods in org.locationtech.jts.operation.distance with parameters of type PolygonModifier and TypeMethodDescriptionprivate voidDistanceOp.computeContainmentDistance(GeometryLocation ptLoc, Polygon poly, GeometryLocation[] locPtPoly) -
Uses of Polygon in org.locationtech.jts.operation.distance3d
Fields in org.locationtech.jts.operation.distance3d declared as PolygonMethods in org.locationtech.jts.operation.distance3d that return PolygonMethods in org.locationtech.jts.operation.distance3d with parameters of type PolygonModifier and TypeMethodDescriptionprivate voidDistance3DOp.computeMinDistancePolygonPolygon(PlanarPolygon3D poly0, Polygon poly1, boolean flip) Computes distance between two polygons.private voidDistance3DOp.computeMinDistancePolygonRings(PlanarPolygon3D poly, Polygon ringPoly, boolean flip) Compute distance between a polygon and the rings of another.private Plane3DPlanarPolygon3D.findBestFitPlane(Polygon poly) Finds a best-fit plane for the polygon, by sampling a few points from the exterior ring.Constructors in org.locationtech.jts.operation.distance3d with parameters of type Polygon -
Uses of Polygon in org.locationtech.jts.operation.polygonize
Methods in org.locationtech.jts.operation.polygonize that return PolygonModifier and TypeMethodDescriptionEdgeRing.getPolygon()Computes thePolygonformed by this ring and any contained holes. -
Uses of Polygon in org.locationtech.jts.operation.predicate
Fields in org.locationtech.jts.operation.predicate declared as PolygonMethods in org.locationtech.jts.operation.predicate with parameters of type PolygonModifier and TypeMethodDescriptionstatic booleanTests whether a rectangle contains a given geometry.static booleanRectangleIntersects.intersects(Polygon rectangle, Geometry b) Tests whether a rectangle intersects a given geometry.Constructors in org.locationtech.jts.operation.predicate with parameters of type PolygonModifierConstructorDescriptionGeometryContainsPointVisitor(Polygon rectangle) RectangleContains(Polygon rectangle) Create a new contains computer for two geometries.RectangleIntersects(Polygon rectangle) Create a new intersects computer for a rectangle.RectangleIntersectsSegmentVisitor(Polygon rectangle) Creates a visitor for checking rectangle intersection with segments -
Uses of Polygon in org.locationtech.jts.operation.valid
Methods in org.locationtech.jts.operation.valid with parameters of type PolygonModifier and TypeMethodDescriptionprivate voidIsValidOp.checkClosedRings(Polygon poly) private voidIsValidOp.checkHolesInShell(Polygon p, GeometryGraph graph) Tests that each hole is inside the polygon shell.private voidIsValidOp.checkHolesNotNested(Polygon p, GeometryGraph graph) Tests that no hole is nested inside another hole.private voidIsValidOp.checkInvalidCoordinates(Polygon poly) private voidIsValidOp.checkShellNotNested(LinearRing shell, Polygon p, GeometryGraph graph) Check if a shell is incorrectly nested within a polygon.private voidIsValidOp.checkValid(Polygon g) Checks the validity of a polygon.private booleanRepeatedPointTester.hasRepeatedPoint(Polygon p) -
Uses of Polygon in org.locationtech.jts.simplify
Methods in org.locationtech.jts.simplify with parameters of type PolygonModifier and TypeMethodDescriptionprotected GeometryDouglasPeuckerSimplifier.DPTransformer.transformPolygon(Polygon geom, Geometry parent) Simplifies a polygon, fixing it if required.protected GeometryVWSimplifier.VWTransformer.transformPolygon(Polygon geom, Geometry parent) Simplifies a polygon, fixing it if required. -
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.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 supercircularPolygonof a given positive power. -
Uses of Polygon in org.locationtech.jtstest.clean
Methods in org.locationtech.jtstest.clean that return PolygonMethods in org.locationtech.jtstest.clean with parameters of type Polygon -
Uses of Polygon in org.locationtech.jtstest.testbuilder
Fields in org.locationtech.jtstest.testbuilder declared as PolygonConstructors in org.locationtech.jtstest.testbuilder with parameters of type PolygonModifierConstructorDescription(package private)PolygonNode(Polygon poly, GeometryContext context) -
Uses of Polygon in org.locationtech.jtstest.testbuilder.geom
Methods in org.locationtech.jtstest.testbuilder.geom that return PolygonModifier and TypeMethodDescriptionGeometryCombiner.addHole(Polygon poly, LinearRing hole) private static PolygonGeometryCombiner.findPolygonContaining(Geometry geom, Coordinate pt) Methods in org.locationtech.jtstest.testbuilder.geom with parameters of type PolygonModifier and TypeMethodDescriptionGeometryCombiner.addHole(Polygon poly, LinearRing hole) private voidFacetLocater.findLocations(Stack path, Polygon poly, List locations) -
Uses of Polygon in org.locationtech.jtstest.util.io
Methods in org.locationtech.jtstest.util.io with parameters of type PolygonModifier and TypeMethodDescriptionprivate voidSVGWriter.appendPolygon(Polygon polygon, int level, Writer writer) Converts aPolygonto <Polygon Tagged Text> format, then appends it to the writer.private voidSVGWriter.appendPolygonPath(Polygon polygon, int level, boolean indentFirst, Writer writer) private voidSVGWriter.appendPolygonPolygon(Polygon polygon, int level, boolean indentFirst, Writer writer) Converts aPolygonto <Polygon Text> format, then appends it to the writer.