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.GeoNearBuilder
GeoNear.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 Point
PointBuilder. build()
Creates an immutable pointstatic Point
GeoJson. 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 LineString
GeoJson. lineString(Point... points)
Create a new LineString representing a GeoJSON LineString type.static MultiPoint
GeoJson. multiPoint(Point... points)
Create a new MultiPoint representing a GeoJSON MultiPoint type.static Polygon
GeoJson. 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 T
FieldEnd. 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.T
FieldEnd. near(Point point, int maxDistance)
Deprecated.T
FieldEnd. 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.T
FieldEndImpl. near(Point point)
T
FieldEndImpl. near(Point point, int maxDistance)
T
FieldEndImpl. near(Point point, java.lang.Double maxDistance, java.lang.Double minDistance)
T
FieldEnd. nearSphere(Point point)
Specifies a point for which a geospatial query returns the documents from nearest to farthest.T
FieldEnd. 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.T
FieldEndImpl. nearSphere(Point point)
T
FieldEndImpl. nearSphere(Point point, java.lang.Double maxDistance, java.lang.Double minDistance)
-