- calcBoxByDistFromPt(Point, double, SpatialContext, Rectangle) - Method in class com.spatial4j.core.distance.CartesianDistCalc
-
- calcBoxByDistFromPt(Point, double, SpatialContext, Rectangle) - Method in interface com.spatial4j.core.distance.DistanceCalculator
-
Calculates the bounding box of a circle, as specified by its center point
and distance.
- calcBoxByDistFromPt(Point, double, SpatialContext, Rectangle) - Method in class com.spatial4j.core.distance.GeodesicSphereDistCalc
-
- calcBoxByDistFromPt_deltaLonDEG(double, double, double) - Static method in class com.spatial4j.core.distance.DistanceUtils
-
The delta longitude of a point-distance.
- calcBoxByDistFromPt_latHorizAxisDEG(double, double, double) - Static method in class com.spatial4j.core.distance.DistanceUtils
-
The latitude of the horizontal axis (e.g.
- calcBoxByDistFromPt_yHorizAxisDEG(Point, double, SpatialContext) - Method in class com.spatial4j.core.distance.CartesianDistCalc
-
- calcBoxByDistFromPt_yHorizAxisDEG(Point, double, SpatialContext) - Method in interface com.spatial4j.core.distance.DistanceCalculator
-
The Y
coordinate of the horizontal axis of a circle that has maximum width.
- calcBoxByDistFromPt_yHorizAxisDEG(Point, double, SpatialContext) - Method in class com.spatial4j.core.distance.GeodesicSphereDistCalc
-
- calcBoxByDistFromPtDEG(double, double, double, SpatialContext, Rectangle) - Static method in class com.spatial4j.core.distance.DistanceUtils
-
Calculates the bounding box of a circle, as specified by its center point
and distance.
- calcDistance(Point, double, double) - Method in class com.spatial4j.core.context.SpatialContext
-
- calcDistance(Point, Point) - Method in class com.spatial4j.core.context.SpatialContext
-
- calcLonDegreesAtLat(double, double) - Static method in class com.spatial4j.core.distance.DistanceUtils
-
Calculates the degrees longitude distance at latitude lat
to cover
a distance dist
.
- CartesianDistCalc - Class in com.spatial4j.core.distance
-
Calculates based on Euclidean / Cartesian 2d plane.
- CartesianDistCalc() - Constructor for class com.spatial4j.core.distance.CartesianDistCalc
-
- CartesianDistCalc(boolean) - Constructor for class com.spatial4j.core.distance.CartesianDistCalc
-
- checkCoordinates(Geometry) - Method in class com.spatial4j.core.io.jts.JtsWKTReaderShapeParser
-
- Circle - Interface in com.spatial4j.core.shape
-
A circle, also known as a point-radius since that is what it is comprised of.
- CircleImpl - Class in com.spatial4j.core.shape.impl
-
A circle, also known as a point-radius, based on a
DistanceCalculator
which does all the work.
- CircleImpl(Point, double, SpatialContext) - Constructor for class com.spatial4j.core.shape.impl.CircleImpl
-
- classLoader - Variable in class com.spatial4j.core.context.SpatialContextFactory
-
- com.spatial4j.core - package com.spatial4j.core
-
This is the base package for Spatial4j from which the rest of it is organized.
- com.spatial4j.core.context - package com.spatial4j.core.context
-
SpatialContext implementations are the facade to the Spatial4j API.
- com.spatial4j.core.context.jts - package com.spatial4j.core.context.jts
-
- com.spatial4j.core.distance - package com.spatial4j.core.distance
-
Ways to calculate distance.
- com.spatial4j.core.exception - package com.spatial4j.core.exception
-
- com.spatial4j.core.io - package com.spatial4j.core.io
-
Reading & writing shapes in various forms.
- com.spatial4j.core.io.jts - package com.spatial4j.core.io.jts
-
- com.spatial4j.core.shape - package com.spatial4j.core.shape
-
Shapes are the core geometry objects that Spatial4j provides.
- com.spatial4j.core.shape.impl - package com.spatial4j.core.shape.impl
-
- com.spatial4j.core.shape.jts - package com.spatial4j.core.shape.jts
-
- combine(SpatialRelation) - Method in enum com.spatial4j.core.shape.SpatialRelation
-
If you were to call aShape.relate(bShape) and aShape.relate(cShape), you
could call this to merge the intersect results as if bShape & cShape were
combined into
ShapeCollection
.
- compareTo(Range.LongitudeRange) - Method in class com.spatial4j.core.shape.impl.Range.LongitudeRange
-
- computeBoundingBox(Collection<? extends Shape>, SpatialContext) - Method in class com.spatial4j.core.shape.ShapeCollection
-
- computeGeoBBox(Geometry) - Method in class com.spatial4j.core.shape.jts.JtsGeometry
-
Given geoms
which has already been checked for being in world
bounds, return the minimal longitude range of the bounding box.
- computeMutualDisjoint(List<? extends Shape>) - Static method in class com.spatial4j.core.shape.ShapeCollection
-
Computes whether the shapes are mutually disjoint.
- contains(Point) - Method in class com.spatial4j.core.shape.impl.BufferedLine
-
- contains(double, double) - Method in class com.spatial4j.core.shape.impl.CircleImpl
-
- contains(double) - Method in class com.spatial4j.core.shape.impl.Range
-
- contains(double) - Method in class com.spatial4j.core.shape.impl.Range.LongitudeRange
-
- coordinate(WktShapeParser.State) - Method in class com.spatial4j.core.io.jts.JtsWktShapeParser
-
Reads a Coordinate
from the current position.
- coordinateSequence(WktShapeParser.State) - Method in class com.spatial4j.core.io.jts.JtsWktShapeParser
-
Reads a JTS Coordinate sequence from the current position.
- coordinateSequenceFactory - Variable in class com.spatial4j.core.context.jts.JtsSpatialContextFactory
-
- coordinateSequenceList(WktShapeParser.State) - Method in class com.spatial4j.core.io.jts.JtsWktShapeParser
-
Reads a list of JTS Coordinate sequences from the current position.
- cornerByQuadrant(Rectangle, int, Point) - Static method in class com.spatial4j.core.shape.impl.InfBufLine
-
- crossesDateline() - Method in class com.spatial4j.core.shape.impl.Range.LongitudeRange
-
- ctx - Variable in class com.spatial4j.core.io.BinaryCodec
-
- ctx - Variable in class com.spatial4j.core.io.jts.JtsWktShapeParser
-
- ctx - Variable in class com.spatial4j.core.io.WktShapeParser
-
- ctx - Variable in class com.spatial4j.core.shape.impl.CircleImpl
-
- ctx - Variable in class com.spatial4j.core.shape.jts.JtsGeometry
-
- datelineRule - Variable in class com.spatial4j.core.context.jts.JtsSpatialContextFactory
-
- datelineRule - Variable in class com.spatial4j.core.io.jts.JtsWktShapeParser
-
- decode(String, SpatialContext) - Static method in class com.spatial4j.core.io.GeohashUtils
-
Decodes the given geohash into a latitude and longitude
- decodeBoundary(String, SpatialContext) - Static method in class com.spatial4j.core.io.GeohashUtils
-
Returns min-max lat, min-max lon.
- defaultPrecisionModel - Static variable in class com.spatial4j.core.context.jts.JtsSpatialContextFactory
-
- DEG_180_AS_RADS - Static variable in class com.spatial4j.core.distance.DistanceUtils
-
- DEG_225_AS_RADS - Static variable in class com.spatial4j.core.distance.DistanceUtils
-
Deprecated.
- DEG_270_AS_RADS - Static variable in class com.spatial4j.core.distance.DistanceUtils
-
Deprecated.
- DEG_45_AS_RADS - Static variable in class com.spatial4j.core.distance.DistanceUtils
-
Deprecated.
- DEG_90_AS_RADS - Static variable in class com.spatial4j.core.distance.DistanceUtils
-
- DEG_TO_KM - Static variable in class com.spatial4j.core.distance.DistanceUtils
-
Equivalent to degrees2Dist(1, EARTH_MEAN_RADIUS_KM)
- degrees2Dist(double, double) - Static method in class com.spatial4j.core.distance.DistanceUtils
-
Converts degrees
(1/360th of circumference of a circle) into a
distance as measured by the units of the radius.
- DEGREES_TO_RADIANS - Static variable in class com.spatial4j.core.distance.DistanceUtils
-
- deltaLen(Range) - Method in class com.spatial4j.core.shape.impl.Range
-
- dimension - Variable in class com.spatial4j.core.io.WktShapeParser.State
-
Dimensionality specifier (e.g.
- dist2Degrees(double, double) - Static method in class com.spatial4j.core.distance.DistanceUtils
-
Converts a distance in the units of the radius to degrees (360 degrees are
in a circle).
- dist2Radians(double, double) - Static method in class com.spatial4j.core.distance.DistanceUtils
-
Converts a distance in the units of radius
(e.g.
- distance(Point, Point) - Method in class com.spatial4j.core.distance.AbstractDistanceCalculator
-
- distance(Point, double, double) - Method in class com.spatial4j.core.distance.CartesianDistCalc
-
- distance(Point, Point) - Method in interface com.spatial4j.core.distance.DistanceCalculator
-
The distance between from
and to
.
- distance(Point, double, double) - Method in interface com.spatial4j.core.distance.DistanceCalculator
-
The distance between from
and Point(toX,toY)
.
- distance(Point, double, double) - Method in class com.spatial4j.core.distance.GeodesicSphereDistCalc
-
- DistanceCalculator - Interface in com.spatial4j.core.distance
-
Performs calculations relating to distance, such as the distance between a pair of points.
- distanceLatLonRAD(double, double, double, double) - Method in class com.spatial4j.core.distance.GeodesicSphereDistCalc
-
- distanceLatLonRAD(double, double, double, double) - Method in class com.spatial4j.core.distance.GeodesicSphereDistCalc.Haversine
-
- distanceLatLonRAD(double, double, double, double) - Method in class com.spatial4j.core.distance.GeodesicSphereDistCalc.LawOfCosines
-
- distanceLatLonRAD(double, double, double, double) - Method in class com.spatial4j.core.distance.GeodesicSphereDistCalc.Vincenty
-
- distanceUnbuffered(Point) - Method in class com.spatial4j.core.shape.impl.InfBufLine
-
INTERNAL AKA lineToPointDistance
- DistanceUtils - Class in com.spatial4j.core.distance
-
Various distance calculations and constants.
- distCalc - Variable in class com.spatial4j.core.context.SpatialContextFactory
-
- distHaversineRAD(double, double, double, double) - Static method in class com.spatial4j.core.distance.DistanceUtils
-
- distLawOfCosinesRAD(double, double, double, double) - Static method in class com.spatial4j.core.distance.DistanceUtils
-
Calculates the distance between two lat-lon's using the Law of Cosines.
- distSquaredCartesian(double[], double[]) - Static method in class com.spatial4j.core.distance.DistanceUtils
-
Deprecated.
- distVincentyRAD(double, double, double, double) - Static method in class com.spatial4j.core.distance.DistanceUtils
-
Calculates the great circle distance using the Vincenty Formula, simplified for a spherical model.
- GEO - Static variable in class com.spatial4j.core.context.jts.JtsSpatialContext
-
- GEO - Static variable in class com.spatial4j.core.context.SpatialContext
-
A popular default SpatialContext implementation for geospatial.
- geo - Variable in class com.spatial4j.core.context.SpatialContextFactory
-
- GeoCircle - Class in com.spatial4j.core.shape.impl
-
A circle as it exists on the surface of a sphere.
- GeoCircle(Point, double, SpatialContext) - Constructor for class com.spatial4j.core.shape.impl.GeoCircle
-
- GeodesicSphereDistCalc - Class in com.spatial4j.core.distance
-
A base class for a Distance Calculator that assumes a spherical earth model.
- GeodesicSphereDistCalc() - Constructor for class com.spatial4j.core.distance.GeodesicSphereDistCalc
-
- GeodesicSphereDistCalc.Haversine - Class in com.spatial4j.core.distance
-
- GeodesicSphereDistCalc.Haversine() - Constructor for class com.spatial4j.core.distance.GeodesicSphereDistCalc.Haversine
-
- GeodesicSphereDistCalc.LawOfCosines - Class in com.spatial4j.core.distance
-
- GeodesicSphereDistCalc.LawOfCosines() - Constructor for class com.spatial4j.core.distance.GeodesicSphereDistCalc.LawOfCosines
-
- GeodesicSphereDistCalc.Vincenty - Class in com.spatial4j.core.distance
-
- GeodesicSphereDistCalc.Vincenty() - Constructor for class com.spatial4j.core.distance.GeodesicSphereDistCalc.Vincenty
-
- GeohashUtils - Class in com.spatial4j.core.io
-
Utilities for encoding and decoding
geohashes.
- geometryFactory - Variable in class com.spatial4j.core.context.jts.JtsSpatialContext
-
- get(int) - Method in class com.spatial4j.core.shape.ShapeCollection
-
- getA() - Method in class com.spatial4j.core.shape.impl.BufferedLine
-
- getArea(SpatialContext) - Method in class com.spatial4j.core.shape.impl.BufferedLine
-
- getArea(SpatialContext) - Method in class com.spatial4j.core.shape.impl.BufferedLineString
-
- getArea(SpatialContext) - Method in class com.spatial4j.core.shape.impl.CircleImpl
-
- getArea(SpatialContext) - Method in class com.spatial4j.core.shape.impl.PointImpl
-
- getArea(SpatialContext) - Method in class com.spatial4j.core.shape.impl.RectangleImpl
-
- getArea(SpatialContext) - Method in class com.spatial4j.core.shape.jts.JtsGeometry
-
- getArea(SpatialContext) - Method in class com.spatial4j.core.shape.jts.JtsPoint
-
- getArea(SpatialContext) - Method in interface com.spatial4j.core.shape.Shape
-
Calculates the area of the shape, in square-degrees.
- getArea(SpatialContext) - Method in class com.spatial4j.core.shape.ShapeCollection
-
- getB() - Method in class com.spatial4j.core.shape.impl.BufferedLine
-
- getBinaryCodec() - Method in class com.spatial4j.core.context.SpatialContext
-
- getBoundingBox() - Method in class com.spatial4j.core.shape.impl.BufferedLine
-
- getBoundingBox() - Method in class com.spatial4j.core.shape.impl.BufferedLineString
-
- getBoundingBox() - Method in class com.spatial4j.core.shape.impl.CircleImpl
-
Note that the bounding box might contain a minX that is > maxX, due to WGS84 dateline.
- getBoundingBox() - Method in class com.spatial4j.core.shape.impl.PointImpl
-
- getBoundingBox() - Method in class com.spatial4j.core.shape.impl.RectangleImpl
-
- getBoundingBox() - Method in class com.spatial4j.core.shape.jts.JtsGeometry
-
- getBoundingBox() - Method in class com.spatial4j.core.shape.jts.JtsPoint
-
- getBoundingBox() - Method in interface com.spatial4j.core.shape.Shape
-
Get the bounding box for this Shape.
- getBoundingBox() - Method in class com.spatial4j.core.shape.ShapeCollection
-
- getBuf() - Method in class com.spatial4j.core.shape.impl.BufferedLine
-
- getBuf() - Method in class com.spatial4j.core.shape.impl.BufferedLineString
-
- getBuf() - Method in class com.spatial4j.core.shape.impl.InfBufLine
-
- getBuffered(double, SpatialContext) - Method in class com.spatial4j.core.shape.impl.BufferedLine
-
- getBuffered(double, SpatialContext) - Method in class com.spatial4j.core.shape.impl.BufferedLineString
-
- getBuffered(double, SpatialContext) - Method in class com.spatial4j.core.shape.impl.CircleImpl
-
- getBuffered(double, SpatialContext) - Method in class com.spatial4j.core.shape.impl.PointImpl
-
- getBuffered(double, SpatialContext) - Method in class com.spatial4j.core.shape.impl.RectangleImpl
-
- getBuffered(double, SpatialContext) - Method in class com.spatial4j.core.shape.jts.JtsGeometry
-
- getBuffered(double, SpatialContext) - Method in class com.spatial4j.core.shape.jts.JtsPoint
-
- getBuffered(double, SpatialContext) - Method in interface com.spatial4j.core.shape.Shape
-
Returns a buffered version of this shape.
- getBuffered(double, SpatialContext) - Method in class com.spatial4j.core.shape.ShapeCollection
-
- getCenter() - Method in class com.spatial4j.core.shape.impl.BufferedLine
-
- getCenter() - Method in class com.spatial4j.core.shape.impl.BufferedLineString
-
- getCenter() - Method in class com.spatial4j.core.shape.impl.CircleImpl
-
- getCenter() - Method in class com.spatial4j.core.shape.impl.PointImpl
-
- getCenter() - Method in class com.spatial4j.core.shape.impl.Range
-
- getCenter() - Method in class com.spatial4j.core.shape.impl.Range.LongitudeRange
-
- getCenter() - Method in class com.spatial4j.core.shape.impl.RectangleImpl
-
- getCenter() - Method in class com.spatial4j.core.shape.jts.JtsGeometry
-
- getCenter() - Method in class com.spatial4j.core.shape.jts.JtsPoint
-
- getCenter() - Method in interface com.spatial4j.core.shape.Shape
-
Returns the center point of this shape.
- getCenter() - Method in class com.spatial4j.core.shape.ShapeCollection
-
- getCrossesDateLine() - Method in class com.spatial4j.core.shape.impl.RectangleImpl
-
- getCrossesDateLine() - Method in interface com.spatial4j.core.shape.Rectangle
-
Only meaningful for geospatial contexts.
- getCtx() - Method in class com.spatial4j.core.io.WktShapeParser
-
- getCtx() - Method in class com.spatial4j.core.io.WktShapeParser.State
-
- getDatelineRule() - Method in class com.spatial4j.core.io.jts.JtsWktShapeParser
-
- getDistCalc() - Method in class com.spatial4j.core.context.SpatialContext
-
- getDistDenomInv() - Method in class com.spatial4j.core.shape.impl.InfBufLine
-
1 / Math.sqrt(slope * slope + 1)
- getGeom() - Method in class com.spatial4j.core.shape.jts.JtsGeometry
-
- getGeom() - Method in class com.spatial4j.core.shape.jts.JtsPoint
-
- getGeometryFactory() - Method in class com.spatial4j.core.context.jts.JtsSpatialContext
-
- getGeometryFactory() - Method in class com.spatial4j.core.context.jts.JtsSpatialContextFactory
-
- getGeometryFrom(Shape) - Method in class com.spatial4j.core.context.jts.JtsSpatialContext
-
Gets a JTS
Geometry
for the given
Shape
.
- getHeight() - Method in class com.spatial4j.core.shape.impl.RectangleImpl
-
- getHeight() - Method in interface com.spatial4j.core.shape.Rectangle
-
The height.
- getIntercept() - Method in class com.spatial4j.core.shape.impl.InfBufLine
-
- getLinePerp() - Method in class com.spatial4j.core.shape.impl.BufferedLine
-
INTERNAL
- getLinePrimary() - Method in class com.spatial4j.core.shape.impl.BufferedLine
-
INTERNAL
- getMax() - Method in class com.spatial4j.core.shape.impl.Range
-
- getMaxX() - Method in class com.spatial4j.core.shape.impl.RectangleImpl
-
- getMaxX() - Method in interface com.spatial4j.core.shape.Rectangle
-
The right edge of the X coordinate.
- getMaxY() - Method in class com.spatial4j.core.shape.impl.RectangleImpl
-
- getMaxY() - Method in interface com.spatial4j.core.shape.Rectangle
-
The top edge of the Y coordinate.
- getMin() - Method in class com.spatial4j.core.shape.impl.Range
-
- getMinX() - Method in class com.spatial4j.core.shape.impl.RectangleImpl
-
- getMinX() - Method in interface com.spatial4j.core.shape.Rectangle
-
The left edge of the X coordinate.
- getMinY() - Method in class com.spatial4j.core.shape.impl.RectangleImpl
-
- getMinY() - Method in interface com.spatial4j.core.shape.Rectangle
-
The bottom edge of the Y coordinate.
- getParser() - Method in class com.spatial4j.core.io.WktShapeParser.State
-
- getPoints() - Method in class com.spatial4j.core.shape.impl.BufferedLineString
-
- getRadius() - Method in interface com.spatial4j.core.shape.Circle
-
The distance from the point's center to its edge, measured in the same
units as x & y (e.g.
- getRadius() - Method in class com.spatial4j.core.shape.impl.CircleImpl
-
- getSegments() - Method in class com.spatial4j.core.shape.impl.BufferedLineString
-
- getShapes() - Method in class com.spatial4j.core.shape.ShapeCollection
-
- getSlope() - Method in class com.spatial4j.core.shape.impl.InfBufLine
-
- getSubGeohashes(String) - Static method in class com.spatial4j.core.io.GeohashUtils
-
Array of geohashes 1 level below the baseGeohash.
- getValidationRule() - Method in class com.spatial4j.core.io.jts.JtsWktShapeParser
-
- getWidth() - Method in class com.spatial4j.core.shape.impl.Range
-
- getWidth() - Method in class com.spatial4j.core.shape.impl.Range.LongitudeRange
-
- getWidth() - Method in class com.spatial4j.core.shape.impl.RectangleImpl
-
- getWidth() - Method in interface com.spatial4j.core.shape.Rectangle
-
The width.
- getWktShapeParser() - Method in class com.spatial4j.core.context.SpatialContext
-
- getWorldBounds() - Method in class com.spatial4j.core.context.SpatialContext
-
The extent of x & y coordinates should fit within the return'ed rectangle.
- getX() - Method in class com.spatial4j.core.shape.impl.PointImpl
-
- getX() - Method in class com.spatial4j.core.shape.jts.JtsPoint
-
- getX() - Method in interface com.spatial4j.core.shape.Point
-
The X coordinate, or Longitude in geospatial contexts.
- getXAxis() - Method in class com.spatial4j.core.shape.impl.CircleImpl
-
The X
coordinate of where the circle axis intersect.
- getY() - Method in class com.spatial4j.core.shape.impl.PointImpl
-
- getY() - Method in class com.spatial4j.core.shape.jts.JtsPoint
-
- getY() - Method in interface com.spatial4j.core.shape.Point
-
The Y coordinate, or Latitude in geospatial contexts.
- getYAxis() - Method in class com.spatial4j.core.shape.impl.CircleImpl
-
The Y
coordinate of where the circle axis intersect.
- getYAxis() - Method in class com.spatial4j.core.shape.impl.GeoCircle
-
- index() - Method in class com.spatial4j.core.shape.jts.JtsGeometry
-
Adds an index to this class internally to compute spatial relations faster.
- InfBufLine - Class in com.spatial4j.core.shape.impl
-
INERNAL: A buffered line of infinite length.
- init(Map<String, String>, ClassLoader) - Method in class com.spatial4j.core.context.jts.JtsSpatialContextFactory
-
- init(Map<String, String>, ClassLoader) - Method in class com.spatial4j.core.context.SpatialContextFactory
-
- initCalculator() - Method in class com.spatial4j.core.context.SpatialContextFactory
-
- initField(String) - Method in class com.spatial4j.core.context.SpatialContextFactory
-
Gets name
from args and populates a field by the same name with the value.
- initWorldBounds() - Method in class com.spatial4j.core.context.SpatialContextFactory
-
- intersectionMatrixToSpatialRelation(IntersectionMatrix) - Static method in class com.spatial4j.core.shape.jts.JtsGeometry
-
- intersects() - Method in enum com.spatial4j.core.shape.SpatialRelation
-
Not DISJOINT, i.e.
- InvalidShapeException - Exception in com.spatial4j.core.exception
-
A shape was constructed but failed because, based on the given parts, it's invalid.
- InvalidShapeException(String, Throwable) - Constructor for exception com.spatial4j.core.exception.InvalidShapeException
-
- InvalidShapeException(String) - Constructor for exception com.spatial4j.core.exception.InvalidShapeException
-
- inverse() - Method in enum com.spatial4j.core.shape.SpatialRelation
-
If aShape.relate(bShape)
is r, then r.inverse()
is inverse(aShape).relate(bShape)
whereas
inverse(shape)
is theoretically the opposite area covered by a
shape, i.e.
- isAllowMultiOverlap() - Method in class com.spatial4j.core.context.jts.JtsSpatialContext
-
If geom might be a multi geometry of some kind, then might multiple
component geometries overlap? Strict OGC says this is invalid but we
can accept it by computing the union.
- isAutoIndex() - Method in class com.spatial4j.core.io.jts.JtsWktShapeParser
-
If JtsGeometry shapes should be automatically prepared (i.e.
- isAutoValidate() - Method in class com.spatial4j.core.io.jts.JtsWktShapeParser
-
- isEmpty() - Method in class com.spatial4j.core.shape.impl.BufferedLine
-
- isEmpty() - Method in class com.spatial4j.core.shape.impl.BufferedLineString
-
- isEmpty() - Method in class com.spatial4j.core.shape.impl.CircleImpl
-
- isEmpty() - Method in class com.spatial4j.core.shape.impl.PointImpl
-
- isEmpty() - Method in class com.spatial4j.core.shape.impl.RectangleImpl
-
- isEmpty() - Method in class com.spatial4j.core.shape.jts.JtsGeometry
-
- isEmpty() - Method in class com.spatial4j.core.shape.jts.JtsPoint
-
- isEmpty() - Method in interface com.spatial4j.core.shape.Shape
-
Shapes can be "empty", which is to say it exists nowhere.
- isGeo() - Method in class com.spatial4j.core.context.SpatialContext
-
Is the mathematical world model based on a sphere, or is it a flat plane? The word
"geodetic" or "geodesic" is sometimes used to refer to the former, and the latter is sometimes
referred to as "Euclidean" or "cartesian".
- isNormWrapLongitude() - Method in class com.spatial4j.core.context.SpatialContext
-
- newSpatialContext() - Method in class com.spatial4j.core.context.jts.JtsSpatialContextFactory
-
- newSpatialContext() - Method in class com.spatial4j.core.context.SpatialContextFactory
-
Subclasses should simply construct the instance from the initialized configuration.
- newState(String) - Method in class com.spatial4j.core.io.WktShapeParser
-
(internal) Creates a new State with the given String.
- nextDouble() - Method in class com.spatial4j.core.io.WktShapeParser.State
-
Reads in a double from the String.
- nextExpect(char) - Method in class com.spatial4j.core.io.WktShapeParser.State
-
Verifies that the current character is of the expected value.
- nextIf(char) - Method in class com.spatial4j.core.io.WktShapeParser.State
-
If the current character is expected
, then offset is advanced after it and any
subsequent whitespace.
- nextIfEmptyAndSkipZM() - Method in class com.spatial4j.core.io.WktShapeParser.State
-
Skips over a dimensionality token (e.g.
- nextIfWhitespace() - Method in class com.spatial4j.core.io.WktShapeParser.State
-
Moves offset to next non-whitespace character.
- nextSubShapeString() - Method in class com.spatial4j.core.io.WktShapeParser.State
-
Returns the next chunk of text till the next ',' or ')' (non-inclusive)
or EOF.
- nextWord() - Method in class com.spatial4j.core.io.WktShapeParser.State
-
Reads the word starting at the current character position.
- normDist(double) - Method in class com.spatial4j.core.io.jts.JtsWktShapeParser
-
- normDist(double) - Method in class com.spatial4j.core.io.WktShapeParser
-
Called to normalize a value that isn't X or Y.
- normLatDEG(double) - Static method in class com.spatial4j.core.distance.DistanceUtils
-
Puts in range -90 <= lat_deg <= 90.
- normLonDEG(double) - Static method in class com.spatial4j.core.distance.DistanceUtils
-
Puts in range -180 <= lon_deg <= +180.
- normWrapLongitude - Variable in class com.spatial4j.core.context.SpatialContextFactory
-
- normX(double) - Method in class com.spatial4j.core.context.jts.JtsSpatialContext
-
- normX(double) - Method in class com.spatial4j.core.context.SpatialContext
-
Normalize the 'x' dimension.
- normY(double) - Method in class com.spatial4j.core.context.jts.JtsSpatialContext
-
- normY(double) - Method in class com.spatial4j.core.context.SpatialContext
-
Normalize the 'y' dimension.
- parse(String) - Method in class com.spatial4j.core.io.WktShapeParser
-
Parses the wktString, returning the defined Shape.
- parseBufferShape(WktShapeParser.State) - Method in class com.spatial4j.core.io.WktShapeParser
-
Parses the BUFFER operation applied to a parsed shape.
- parseEnvelopeShape(WktShapeParser.State) - Method in class com.spatial4j.core.io.WktShapeParser
-
Parses an ENVELOPE (aka Rectangle) shape from the raw string.
- parseGeometryCollectionShape(WktShapeParser.State) - Method in class com.spatial4j.core.io.WktShapeParser
-
Parses a GEOMETRYCOLLECTION shape from the raw string.
- parseIfSupported(String) - Method in class com.spatial4j.core.io.jts.JtsWKTReaderShapeParser
-
- parseIfSupported(String, WKTReader) - Method in class com.spatial4j.core.io.jts.JtsWKTReaderShapeParser
-
Reads WKT from the str
via JTS's WKTReader
.
- parseIfSupported(String) - Method in class com.spatial4j.core.io.WktShapeParser
-
Parses the wktString, returning the defined Shape.
- parseLatitudeLongitude(String) - Static method in class com.spatial4j.core.io.ParseUtils
-
Deprecated.
- parseLatitudeLongitude(double[], String) - Static method in class com.spatial4j.core.io.ParseUtils
-
Deprecated.
- parseLineStringShape(WktShapeParser.State) - Method in class com.spatial4j.core.io.jts.JtsWktShapeParser
-
- parseLineStringShape(WktShapeParser.State) - Method in class com.spatial4j.core.io.WktShapeParser
-
Parses a LINESTRING shape from the raw string -- an ordered sequence of points.
- parseMulitPolygonShape(WktShapeParser.State) - Method in class com.spatial4j.core.io.jts.JtsWktShapeParser
-
Parses a MULTIPOLYGON shape from the raw string.
- parseMultiLineStringShape(WktShapeParser.State) - Method in class com.spatial4j.core.io.WktShapeParser
-
Parses a MULTILINESTRING shape from the raw string -- a collection of line strings.
- parseMultiPointShape(WktShapeParser.State) - Method in class com.spatial4j.core.io.WktShapeParser
-
Parses a MULTIPOINT shape from the raw string -- a collection of points.
- parsePoint(String[], String, int) - Static method in class com.spatial4j.core.io.ParseUtils
-
Deprecated.
Given a string containing dimension values encoded in it, separated by commas, return a String array of length dimension
containing the values.
- parsePointDouble(double[], String, int) - Static method in class com.spatial4j.core.io.ParseUtils
-
Deprecated.
Given a string containing dimension values encoded in it, separated by commas, return a double array of length dimension
containing the values.
- parsePointShape(WktShapeParser.State) - Method in class com.spatial4j.core.io.WktShapeParser
-
Parses a POINT shape from the raw string.
- parsePolygonShape(WktShapeParser.State) - Method in class com.spatial4j.core.io.jts.JtsWktShapeParser
-
Parses a POLYGON shape from the raw string.
- parseShapeByType(WktShapeParser.State, String) - Method in class com.spatial4j.core.io.jts.JtsWktShapeParser
-
- parseShapeByType(WktShapeParser.State, String) - Method in class com.spatial4j.core.io.WktShapeParser
-
- ParseUtils - Class in com.spatial4j.core.io
-
Deprecated.
Not useful; see https://github.com/spatial4j/spatial4j/issues/19
- point(WktShapeParser.State) - Method in class com.spatial4j.core.io.WktShapeParser
-
Reads a raw Point (AKA Coordinate) from the current position.
- point - Variable in class com.spatial4j.core.shape.impl.CircleImpl
-
- Point - Interface in com.spatial4j.core.shape
-
A Point with X & Y coordinates.
- PointImpl - Class in com.spatial4j.core.shape.impl
-
A basic 2D implementation of a Point.
- PointImpl(double, double, SpatialContext) - Constructor for class com.spatial4j.core.shape.impl.PointImpl
-
A simple constructor without normalization / validation.
- pointList(WktShapeParser.State) - Method in class com.spatial4j.core.io.WktShapeParser
-
Reads a list of Points (AKA CoordinateSequence) from the current position.
- pointOnBearing(Point, double, double, SpatialContext, Point) - Method in class com.spatial4j.core.distance.CartesianDistCalc
-
- pointOnBearing(Point, double, double, SpatialContext, Point) - Method in interface com.spatial4j.core.distance.DistanceCalculator
-
Calculates where a destination point is given an origin (from
)
distance, and bearing (given in degrees -- 0-360).
- pointOnBearing(Point, double, double, SpatialContext, Point) - Method in class com.spatial4j.core.distance.GeodesicSphereDistCalc
-
- pointOnBearingRAD(double, double, double, double, SpatialContext, Point) - Static method in class com.spatial4j.core.distance.DistanceUtils
-
Given a start point (startLat, startLon) and a bearing on a sphere, return the destination point.
- polygon(WktShapeParser.State) - Method in class com.spatial4j.core.io.jts.JtsWktShapeParser
-
Reads a polygon, returning a JTS polygon.
- precisionModel - Variable in class com.spatial4j.core.context.jts.JtsSpatialContextFactory
-
- preparedGeometry - Variable in class com.spatial4j.core.shape.jts.JtsGeometry
-