Uses of Class
dev.morphia.geo.Polygon
-
Packages that use Polygon Package Description dev.morphia.geo dev.morphia.query -
-
Uses of Polygon in dev.morphia.geo
Methods in dev.morphia.geo that return Polygon Modifier and Type Method Description static PolygonGeoJson. polygon(LineString exteriorBoundary, LineString... interiorBoundaries)Lets you create a Polygon representing a GeoJSON Polygon type.static PolygonGeoJson. polygon(Point... points)Create a new Polygon representing a GeoJSON Polygon type.Methods in dev.morphia.geo that return types with arguments of type Polygon Modifier and Type Method Description java.util.List<Polygon>MultiPolygon. getCoordinates()Methods in dev.morphia.geo with parameters of type Polygon Modifier and Type Method Description static MultiPolygonGeoJson. multiPolygon(Polygon... polygons)Create a new MultiPolygon representing a GeoJSON MultiPolygon type. -
Uses of Polygon in dev.morphia.query
Methods in dev.morphia.query with parameters of type Polygon Modifier and Type Method Description TFieldEnd. within(Polygon boundary)This runs the $geoWithin query, returning documents with GeoJson fields whose area falls within the given boundary.TFieldEnd. within(Polygon boundary, CoordinateReferenceSystem crs)This runs the $geoWithin query, returning documents with GeoJson fields whose area falls within the given boundary.TFieldEndImpl. within(Polygon boundary)TFieldEndImpl. within(Polygon boundary, CoordinateReferenceSystem crs)
-