public interface Geo
| Modifier and Type | Interface and Description | 
|---|---|
| static class  | Geo.Unit | 
| Modifier and Type | Method and Description | 
|---|---|
| static org.apache.tinkerpop.gremlin.process.traversal.P<Object> | inside(Point center,
      double radius)Finds whether an entity is inside the given circular area using a cartesian coordinate system. | 
| static org.apache.tinkerpop.gremlin.process.traversal.P<Object> | inside(Point center,
      double radius,
      Geo.Unit units)Finds whether an entity is inside the given circular area using a geo coordinate system. | 
| static org.apache.tinkerpop.gremlin.process.traversal.P<Object> | inside(Polygon polygon)Finds whether an entity is inside the given polygon. | 
| static LineString | lineString(double... coordinates)Creates a line string from the coordinates of its points. | 
| static LineString | lineString(Point point1,
          Point point2,
          Point... otherPoints)Creates a line string from the given (at least 2) points. | 
| static Point | point(double x,
     double y)Creates a point from the given coordinates. | 
| static Polygon | polygon(double... coordinates)Creates a polygon from the coordinates of its points. | 
| static Polygon | polygon(Point p1,
       Point p2,
       Point p3,
       Point... otherPoints)Creates a polygon from the given (at least 3) points. | 
static org.apache.tinkerpop.gremlin.process.traversal.P<Object> inside(Point center, double radius, Geo.Unit units)
GraphTraversal.static org.apache.tinkerpop.gremlin.process.traversal.P<Object> inside(Point center, double radius)
GraphTraversal.static org.apache.tinkerpop.gremlin.process.traversal.P<Object> inside(Polygon polygon)
GraphTraversal.@NonNull static Point point(double x, double y)
This is just a shortcut to Point.fromCoordinates(double, double). It is duplicated
 here so that Geo can be used as a single entry point in Gremlin-groovy scripts.
@NonNull static LineString lineString(@NonNull Point point1, @NonNull Point point2, @NonNull Point... otherPoints)
This is just a shortcut to LineString.fromPoints(Point, Point, Point...). It is
 duplicated here so that Geo can be used as a single entry point in Gremlin-groovy
 scripts.
@NonNull static LineString lineString(double... coordinates)
This is provided for backward compatibility with previous DSE versions. We recommend lineString(Point, Point, Point...) instead.
@NonNull static Polygon polygon(@NonNull Point p1, @NonNull Point p2, @NonNull Point p3, @NonNull Point... otherPoints)
This is just a shortcut to Polygon.fromPoints(Point, Point, Point, Point...). It is
 duplicated here so that Geo can be used as a single entry point in Gremlin-groovy
 scripts.
@NonNull static Polygon polygon(double... coordinates)
This is provided for backward compatibility with previous DSE versions. We recommend polygon(Point, Point, Point, Point...) instead.
Copyright © 2017–2025. All rights reserved.