Uses of Class
dev.morphia.geo.Point
-
Packages that use Point Package Description dev.morphia.aggregation dev.morphia.geo dev.morphia.query -
-
Uses of Point in dev.morphia.aggregation
Methods in dev.morphia.aggregation with parameters of type Point Modifier and Type Method Description GeoNear.GeoNearBuilderGeoNear.GeoNearBuilder. setNear(Point point)Sets the point for which to find the closest documents. -
Uses of Point in dev.morphia.geo
Methods in dev.morphia.geo that return Point Modifier and Type Method Description PointPointBuilder. build()Creates an immutable pointstatic PointGeoJson. point(double latitude, double longitude)Create a new Point representing a GeoJSON point type.Methods in dev.morphia.geo that return types with arguments of type Point Modifier and Type Method Description java.util.List<Point>LineString. getCoordinates()java.util.List<Point>MultiPoint. getCoordinates()Methods in dev.morphia.geo with parameters of type Point Modifier and Type Method Description static LineStringGeoJson. lineString(Point... points)Create a new LineString representing a GeoJSON LineString type.static MultiPointGeoJson. multiPoint(Point... points)Create a new MultiPoint representing a GeoJSON MultiPoint type.static PolygonGeoJson. polygon(Point... points)Create a new Polygon representing a GeoJSON Polygon type.Method parameters in dev.morphia.geo with type arguments of type Point Modifier and Type Method Description static java.util.List<com.mongodb.client.model.geojson.Position>GeoJson. convertPoints(java.util.List<Point> values) -
Uses of Point in dev.morphia.query
Methods in dev.morphia.query with parameters of type Point Modifier and Type Method Description TFieldEnd. near(Point point)This runs a $near query to check for documents geographically close to the given Point - this Point represents a GeoJSON point type.TFieldEnd. near(Point point, int maxDistance)Deprecated.TFieldEnd. near(Point point, java.lang.Double maxDistance, java.lang.Double minDistance)Specifies a point for which a geospatial query returns the documents from nearest to farthest.TFieldEndImpl. near(Point point)TFieldEndImpl. near(Point point, int maxDistance)TFieldEndImpl. near(Point point, java.lang.Double maxDistance, java.lang.Double minDistance)TFieldEnd. nearSphere(Point point)Specifies a point for which a geospatial query returns the documents from nearest to farthest.TFieldEnd. nearSphere(Point point, java.lang.Double maxDistance, java.lang.Double minDistance)Specifies a point for which a geospatial query returns the documents from nearest to farthest.TFieldEndImpl. nearSphere(Point point)TFieldEndImpl. nearSphere(Point point, java.lang.Double maxDistance, java.lang.Double minDistance)
-