Uses of Class
org.locationtech.jts.geom.Polygon
-
-
Uses of Polygon in org.elasticsearch.common.geo.builders
Methods in org.elasticsearch.common.geo.builders that return Polygon Modifier and Type Method Description protected static PolygonPolygonBuilder. polygonS4J(GeometryFactory factory, Coordinate[][] polygon)PolygonPolygonBuilder. toPolygonS4J()protected PolygonPolygonBuilder. toPolygonS4J(GeometryFactory factory) -
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.geom
Methods in org.locationtech.jts.geom that return Polygon Modifier and Type Method Description protected PolygonPolygon. copyInternal()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(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 with parameters of type Polygon Modifier and Type Method Description 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) -
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 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 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.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.spatial4j.io.jts
Methods in org.locationtech.spatial4j.io.jts with parameters of type Polygon Modifier and Type Method Description protected voidJtsGeoJSONWriter. write(Writer output, NumberFormat nf, Polygon p)protected voidJtsPolyshapeWriter. write(PolyshapeWriter.Encoder output, Polygon p)
-