Uses of Class
org.locationtech.jts.geom.Polygon
-
Packages that use Polygon Package Description org.locationtech.jts.algorithm Contains classes and interfaces implementing fundamental computational geometry algorithms.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.awt Classes to perform conversions from Java2D shape objects.org.locationtech.jts.densify Classes to perform densification on geometries.org.locationtech.jts.geom Contains theGeometryinterface hierarchy and supporting classes.org.locationtech.jts.geom.util Provides classes that parse and modify Geometry objects.org.locationtech.jts.geomgraph Contains classes that implement topology graphs.org.locationtech.jts.io Contains the interfaces for converting JTS objects to and from other formats.org.locationtech.jts.io.geojson org.locationtech.jts.io.gml2 Classes to read and write the GML2 geometry format.org.locationtech.jts.io.kml org.locationtech.jts.operation.buffer Provides classes for computing buffers of geometriesorg.locationtech.jts.operation.buffer.validate Classes to perform validation of the results of buffer operations.org.locationtech.jts.operation.distance Provides classes for computing the distance between geometriesorg.locationtech.jts.operation.distance3d org.locationtech.jts.operation.polygonize An API for polygonizing sets of lines.org.locationtech.jts.operation.predicate Classes which implement topological predicates optimized for particular kinds of geometries.org.locationtech.jts.operation.valid Provides classes for testing the validity of geometries.org.locationtech.jts.simplify Classes which implement algorithms for simplifying or generalizing 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.org.locationtech.jtstest.clean org.locationtech.jtstest.testbuilder org.locationtech.jtstest.testbuilder.geom org.locationtech.jtstest.util.io -
-
Uses of Polygon in org.locationtech.jts.algorithm
Fields in org.locationtech.jts.algorithm declared as Polygon Modifier and Type Field Description private PolygonInteriorPointArea.SafeBisectorFinder. polyMethods in org.locationtech.jts.algorithm with parameters of type Polygon Modifier and Type Method Description private voidCentroid. add(Polygon poly)static doubleInteriorPointArea.SafeBisectorFinder. getBisectorY(Polygon poly)private intPointLocator. locateInPolygon(Coordinate p, Polygon poly)Constructors in org.locationtech.jts.algorithm with parameters of type Polygon Constructor Description SafeBisectorFinder(Polygon poly) -
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 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 Polygon Modifier and Type Method Description static 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 Modifier and Type Method Description private java.awt.ShapeShapeWriter. toShape(Polygon p) -
Uses of Polygon in org.locationtech.jts.densify
Methods in org.locationtech.jts.densify with parameters of type Polygon Modifier and Type Method Description protected GeometryDensifier.DensifyTransformer. transformPolygon(Polygon geom, Geometry parent) -
Uses of Polygon in org.locationtech.jts.geom
Methods in org.locationtech.jts.geom that return Polygon Modifier and Type Method Description PolygonPolygon. copy()Creates and returns a full copy of thisPolygonobject.PolygonGeometryFactory. createPolygon()PolygonGeometryFactory. createPolygon(Coordinate[] shell)Constructs aPolygonwith the given exterior boundary.PolygonGeometryFactory. createPolygon(CoordinateSequence shell)Constructs aPolygonwith the given exterior boundary.PolygonGeometryFactory. createPolygon(LinearRing shell)Constructs aPolygonwith the given exterior boundary.PolygonGeometryFactory. createPolygon(LinearRing shell, LinearRing[] holes)Constructs aPolygonwith the given exterior boundary and interior boundaries.static Polygon[]GeometryFactory. toPolygonArray(java.util.Collection polygons)Converts theListto an array.Methods in org.locationtech.jts.geom with parameters of type Polygon Modifier and Type Method Description MultiPolygonGeometryFactory. 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.geom.util
Methods in org.locationtech.jts.geom.util that return Polygon Modifier and Type Method Description private PolygonGeometryEditor. editPolygon(Polygon polygon, GeometryEditor.GeometryEditorOperation operation)Methods in org.locationtech.jts.geom.util with parameters of type Polygon Modifier and Type Method Description private 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 Polygon Modifier and Type Method Description PolygonEdgeRing. toPolygon(GeometryFactory geometryFactory)Methods in org.locationtech.jts.geomgraph with parameters of type Polygon Modifier and Type Method Description private voidGeometryGraph. addPolygon(Polygon p) -
Uses of Polygon in org.locationtech.jts.io
Methods in org.locationtech.jts.io that return Polygon Modifier and Type Method Description private PolygonWKBReader. readPolygon()private PolygonWKTReader. readPolygonText()Creates aPolygonusing the next token in the stream.Methods in org.locationtech.jts.io with parameters of type Polygon Modifier and Type Method Description private voidWKTWriter. appendPolygonTaggedText(Polygon polygon, int level, java.io.Writer writer)Converts aPolygonto <Polygon Tagged Text> format, then appends it to the writer.private voidWKTWriter. appendPolygonText(Polygon polygon, int level, boolean indentFirst, java.io.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 Polygon Modifier and Type Method Description private java.util.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 Polygon Modifier and Type Method Description private voidGMLWriter. writePolygon(Polygon p, java.io.Writer writer, int level) -
Uses of Polygon in org.locationtech.jts.io.kml
Methods in org.locationtech.jts.io.kml with parameters of type Polygon Modifier and Type Method Description private voidKMLWriter. writePolygon(Polygon p, java.lang.String attributes, int level, java.lang.StringBuffer buf) -
Uses of Polygon in org.locationtech.jts.operation.buffer
Methods in org.locationtech.jts.operation.buffer with parameters of type Polygon Modifier and Type Method Description private voidOffsetCurveSetBuilder. addPolygon(Polygon p) -
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 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 Polygon Modifier and Type Method Description private 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 Polygon Modifier and Type Field Description private PolygonPlanarPolygon3D. polyMethods in org.locationtech.jts.operation.distance3d that return Polygon Modifier and Type Method Description PolygonPlanarPolygon3D. getPolygon()Methods in org.locationtech.jts.operation.distance3d with parameters of type Polygon Modifier and Type Method Description private 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 Constructor Description PlanarPolygon3D(Polygon poly) -
Uses of Polygon in org.locationtech.jts.operation.polygonize
Methods in org.locationtech.jts.operation.polygonize that return Polygon Modifier and Type Method Description PolygonEdgeRing. 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 Polygon Modifier and Type Field Description private PolygonRectangleIntersects. rectangleMethods in org.locationtech.jts.operation.predicate with parameters of type Polygon Modifier and Type Method Description static booleanRectangleContains. contains(Polygon rectangle, Geometry b)Tests 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 Polygon Constructor Description GeometryContainsPointVisitor(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 Polygon Modifier and Type Method Description private 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 Polygon Modifier and Type Method Description protected 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 Polygon Modifier and Type Method Description PolygonQuadEdgeTriangle. getGeometry(GeometryFactory fact)PolygonQuadEdgeSubdivision. 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 Polygon Modifier and Type Method Description PolygonGeometricShapeFactory. createArcPolygon(double startAng, double angExtent)Creates an elliptical arc polygon.PolygonGeometricShapeFactory. createCircle()Creates a circular or ellipticalPolygon.PolygonGeometricShapeFactory. createEllipse()Creates an ellipticalPolygon.PolygonGeometricShapeFactory. createRectangle()Creates a rectangularPolygon.PolygonGeometricShapeFactory. createSquircle()Creates a squircularPolygon.PolygonGeometricShapeFactory. 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 Polygon Modifier and Type Method Description private PolygonCleanDuplicatePoints. clean(Polygon poly)Methods in org.locationtech.jtstest.clean with parameters of type Polygon Modifier and Type Method Description private PolygonCleanDuplicatePoints. clean(Polygon poly) -
Uses of Polygon in org.locationtech.jtstest.testbuilder
Fields in org.locationtech.jtstest.testbuilder declared as Polygon Modifier and Type Field Description (package private) PolygonPolygonNode. polyConstructors in org.locationtech.jtstest.testbuilder with parameters of type Polygon Constructor Description PolygonNode(Polygon poly, GeometryContext context) -
Uses of Polygon in org.locationtech.jtstest.testbuilder.geom
Methods in org.locationtech.jtstest.testbuilder.geom that return Polygon Modifier and Type Method Description PolygonGeometryCombiner. addHole(Polygon poly, LinearRing hole)private static PolygonGeometryCombiner. findPolygonContaining(Geometry geom, Coordinate pt)Methods in org.locationtech.jtstest.testbuilder.geom with parameters of type Polygon Modifier and Type Method Description PolygonGeometryCombiner. addHole(Polygon poly, LinearRing hole)private voidFacetLocater. findLocations(java.util.Stack path, Polygon poly, java.util.List locations) -
Uses of Polygon in org.locationtech.jtstest.util.io
Methods in org.locationtech.jtstest.util.io with parameters of type Polygon Modifier and Type Method Description private voidSVGWriter. appendPolygon(Polygon polygon, int level, java.io.Writer writer)Converts aPolygonto <Polygon Tagged Text> format, then appends it to the writer.private voidSVGWriter. appendPolygonPath(Polygon polygon, int level, boolean indentFirst, java.io.Writer writer)private voidSVGWriter. appendPolygonPolygon(Polygon polygon, int level, boolean indentFirst, java.io.Writer writer)Converts aPolygonto <Polygon Text> format, then appends it to the writer.
-