Class XYShape

    • Method Detail

      • createIndexableFields

        public static Field[] createIndexableFields​(String fieldName,
                                                    XYPolygon polygon)
        create indexable fields for cartesian polygon geometry
      • createIndexableFields

        public static Field[] createIndexableFields​(String fieldName,
                                                    XYLine line)
        create indexable fields for cartesian line geometry
      • createIndexableFields

        public static Field[] createIndexableFields​(String fieldName,
                                                    float x,
                                                    float y)
        create indexable fields for cartesian point geometry
      • newBoxQuery

        public static Query newBoxQuery​(String field,
                                        ShapeField.QueryRelation queryRelation,
                                        float minX,
                                        float maxX,
                                        float minY,
                                        float maxY)
        create a query to find all cartesian shapes that intersect a defined bounding box *
      • newLineQuery

        public static Query newLineQuery​(String field,
                                         ShapeField.QueryRelation queryRelation,
                                         XYLine... lines)
        create a query to find all cartesian shapes that intersect a provided linestring (or array of linestrings) *
      • newPolygonQuery

        public static Query newPolygonQuery​(String field,
                                            ShapeField.QueryRelation queryRelation,
                                            XYPolygon... polygons)
        create a query to find all cartesian shapes that intersect a provided polygon (or array of polygons) *
      • newDistanceQuery

        public static Query newDistanceQuery​(String field,
                                             ShapeField.QueryRelation queryRelation,
                                             XYCircle... circle)
        create a query to find all cartesian shapes that intersect a provided circle (or arrays of circles) *
      • newGeometryQuery

        public static Query newGeometryQuery​(String field,
                                             ShapeField.QueryRelation queryRelation,
                                             XYGeometry... xyGeometries)
        create a query to find all indexed geo shapes that intersect a provided geometry collection note: Components do not support dateline crossing