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 Polygon
GeoJson. polygon(LineString exteriorBoundary, LineString... interiorBoundaries)
Lets you create a Polygon representing a GeoJSON Polygon type.static Polygon
GeoJson. 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 MultiPolygon
GeoJson. 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 T
FieldEnd. within(Polygon boundary)
This runs the $geoWithin query, returning documents with GeoJson fields whose area falls within the given boundary.T
FieldEnd. within(Polygon boundary, CoordinateReferenceSystem crs)
This runs the $geoWithin query, returning documents with GeoJson fields whose area falls within the given boundary.T
FieldEndImpl. within(Polygon boundary)
T
FieldEndImpl. within(Polygon boundary, CoordinateReferenceSystem crs)
-