A B C D E F G H I J K L M N O P Q R S T U V W X Y
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- AbstractDistanceCalculator - Class in org.locationtech.spatial4j.distance
- AbstractDistanceCalculator() - Constructor for class org.locationtech.spatial4j.distance.AbstractDistanceCalculator
- add(ShapeFactory.LineStringBuilder) - Method in class org.locationtech.spatial4j.shape.impl.ShapeFactoryImpl.GeneralShapeMultiShapeBuilder
- add(ShapeFactory.LineStringBuilder) - Method in class org.locationtech.spatial4j.shape.jts.JtsShapeFactory.JtsMultiLineStringBuilder
- add(ShapeFactory.LineStringBuilder) - Method in interface org.locationtech.spatial4j.shape.ShapeFactory.MultiLineStringBuilder
- add(ShapeFactory.PolygonBuilder) - Method in class org.locationtech.spatial4j.shape.impl.ShapeFactoryImpl.GeneralShapeMultiShapeBuilder
- add(ShapeFactory.PolygonBuilder) - Method in class org.locationtech.spatial4j.shape.jts.JtsShapeFactory.JtsMultiPolygonBuilder
- add(ShapeFactory.PolygonBuilder) - Method in interface org.locationtech.spatial4j.shape.ShapeFactory.MultiPolygonBuilder
- add(T) - Method in class org.locationtech.spatial4j.shape.impl.ShapeFactoryImpl.GeneralShapeMultiShapeBuilder
- add(T) - Method in interface org.locationtech.spatial4j.shape.ShapeFactory.MultiShapeBuilder
- addReaderIfNoggitExists(Class<? extends ShapeReader>) - Method in class org.locationtech.spatial4j.context.SpatialContextFactory
- allowMultiOverlap - Variable in class org.locationtech.spatial4j.context.jts.JtsSpatialContextFactory
- allowMultiOverlap - Variable in class org.locationtech.spatial4j.shape.jts.JtsShapeFactory
- append(StringBuilder, Point, NumberFormat) - Method in class org.locationtech.spatial4j.io.WKTWriter
- area(Circle) - Method in class org.locationtech.spatial4j.distance.CartesianDistCalc
- area(Circle) - Method in interface org.locationtech.spatial4j.distance.DistanceCalculator
- area(Circle) - Method in class org.locationtech.spatial4j.distance.GeodesicSphereDistCalc
- area(Rectangle) - Method in class org.locationtech.spatial4j.distance.CartesianDistCalc
- area(Rectangle) - Method in interface org.locationtech.spatial4j.distance.DistanceCalculator
- area(Rectangle) - Method in class org.locationtech.spatial4j.distance.GeodesicSphereDistCalc
- args - Variable in class org.locationtech.spatial4j.context.SpatialContextFactory
- assertValidate() - Method in class org.locationtech.spatial4j.shape.jts.JtsGeometry
-
called via assertion
- autoIndex - Variable in class org.locationtech.spatial4j.context.jts.JtsSpatialContextFactory
- autoIndex - Variable in class org.locationtech.spatial4j.shape.jts.JtsShapeFactory
B
- BASE_32 - Static variable in class org.locationtech.spatial4j.io.GeohashUtils
- BASE_32_IDX - Static variable in class org.locationtech.spatial4j.io.GeohashUtils
- BaseShape<T extends SpatialContext> - Class in org.locationtech.spatial4j.shape
- BaseShape(T) - Constructor for class org.locationtech.spatial4j.shape.BaseShape
- bbox - Variable in class org.locationtech.spatial4j.shape.impl.BufferedLine
- bbox - Variable in class org.locationtech.spatial4j.shape.jts.JtsGeometry
- bbox - Variable in class org.locationtech.spatial4j.shape.ShapeCollection
- BBoxCalculator - Class in org.locationtech.spatial4j.shape.impl
-
(INTERNAL) Calculates the minimum bounding box given a bunch of rectangles (ranges).
- BBoxCalculator(SpatialContext) - Constructor for class org.locationtech.spatial4j.shape.impl.BBoxCalculator
- BBoxIntersects - Static variable in class org.locationtech.spatial4j.SpatialPredicate
-
Bounding box of the *indexed* shape, then
SpatialPredicate.Intersects
. - BBoxWithin - Static variable in class org.locationtech.spatial4j.SpatialPredicate
-
Bounding box of the *indexed* shape, then
SpatialPredicate.IsWithin
. - binaryCodec - Variable in class org.locationtech.spatial4j.context.SpatialContext
- BinaryCodec - Class in org.locationtech.spatial4j.io
-
A binary shape format.
- BinaryCodec(SpatialContext, SpatialContextFactory) - Constructor for class org.locationtech.spatial4j.io.BinaryCodec
- binaryCodecClass - Variable in class org.locationtech.spatial4j.context.SpatialContextFactory
- BITS - Static variable in class org.locationtech.spatial4j.io.GeohashUtils
- buf - Variable in class org.locationtech.spatial4j.shape.impl.BufferedLine
- buf - Variable in class org.locationtech.spatial4j.shape.impl.BufferedLineString
- buf - Variable in class org.locationtech.spatial4j.shape.impl.InfBufLine
- bufDistance - Variable in class org.locationtech.spatial4j.shape.jts.JtsShapeFactory.JtsLineStringBuilder
- buffer(double) - Method in class org.locationtech.spatial4j.shape.jts.JtsShapeFactory.JtsLineStringBuilder
- buffer(double) - Method in interface org.locationtech.spatial4j.shape.ShapeFactory.LineStringBuilder
- BUFFER - Static variable in class org.locationtech.spatial4j.io.GeoJSONReader
- BUFFER - Static variable in class org.locationtech.spatial4j.io.jackson.ShapeAsGeoJSONSerializer
- BUFFER_UNITS - Static variable in class org.locationtech.spatial4j.io.GeoJSONReader
- BUFFER_UNITS - Static variable in class org.locationtech.spatial4j.io.jackson.ShapeAsGeoJSONSerializer
- BufferedLine - Class in org.locationtech.spatial4j.shape.impl
-
INTERNAL: A line between two points with a buffer distance extending in every direction.
- BufferedLine(Point, Point, double, SpatialContext) - Constructor for class org.locationtech.spatial4j.shape.impl.BufferedLine
-
Creates a buffered line from pA to pB.
- BufferedLineString - Class in org.locationtech.spatial4j.shape.impl
-
A BufferedLineString is a collection of
BufferedLine
shapes, resulting in what some call a "Track" or "Polyline" (ESRI terminology). - BufferedLineString(List<Point>, double, boolean, SpatialContext) - Constructor for class org.locationtech.spatial4j.shape.impl.BufferedLineString
- BufferedLineString(List<Point>, double, SpatialContext) - Constructor for class org.locationtech.spatial4j.shape.impl.BufferedLineString
-
Needs at least 1 point, usually more than that.
- build() - Method in class org.locationtech.spatial4j.shape.impl.ShapeFactoryImpl.GeneralShapeMultiShapeBuilder
- build() - Method in class org.locationtech.spatial4j.shape.jts.JtsShapeFactory.JtsLineStringBuilder
- build() - Method in class org.locationtech.spatial4j.shape.jts.JtsShapeFactory.JtsMultiLineStringBuilder
- build() - Method in class org.locationtech.spatial4j.shape.jts.JtsShapeFactory.JtsMultiPointBuilder
- build() - Method in class org.locationtech.spatial4j.shape.jts.JtsShapeFactory.JtsMultiPolygonBuilder
- build() - Method in class org.locationtech.spatial4j.shape.jts.JtsShapeFactory.JtsMultiShapeBuilder
- build() - Method in class org.locationtech.spatial4j.shape.jts.JtsShapeFactory.JtsPolygonBuilder
- build() - Method in interface org.locationtech.spatial4j.shape.ShapeFactory.LineStringBuilder
- build() - Method in interface org.locationtech.spatial4j.shape.ShapeFactory.MultiLineStringBuilder
- build() - Method in interface org.locationtech.spatial4j.shape.ShapeFactory.MultiPointBuilder
- build() - Method in interface org.locationtech.spatial4j.shape.ShapeFactory.MultiPolygonBuilder
- build() - Method in interface org.locationtech.spatial4j.shape.ShapeFactory.MultiShapeBuilder
- build() - Method in interface org.locationtech.spatial4j.shape.ShapeFactory.PolygonBuilder
-
Builds the polygon and renders this builder instance invalid.
- buildLineStringGeom() - Method in class org.locationtech.spatial4j.shape.jts.JtsShapeFactory.JtsLineStringBuilder
- buildOrRect() - Method in class org.locationtech.spatial4j.shape.jts.JtsShapeFactory.JtsPolygonBuilder
- buildOrRect() - Method in interface org.locationtech.spatial4j.shape.ShapeFactory.PolygonBuilder
- buildPolygonGeom() - Method in class org.locationtech.spatial4j.shape.jts.JtsShapeFactory.JtsPolygonBuilder
C
- calcBoxByDistFromPt(Point, double, SpatialContext, Rectangle) - Method in class org.locationtech.spatial4j.distance.CartesianDistCalc
- calcBoxByDistFromPt(Point, double, SpatialContext, Rectangle) - Method in interface org.locationtech.spatial4j.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 org.locationtech.spatial4j.distance.GeodesicSphereDistCalc
- calcBoxByDistFromPt_deltaLonDEG(double, double, double) - Static method in class org.locationtech.spatial4j.distance.DistanceUtils
-
The delta longitude of a point-distance.
- calcBoxByDistFromPt_latHorizAxisDEG(double, double, double) - Static method in class org.locationtech.spatial4j.distance.DistanceUtils
-
The latitude of the horizontal axis (e.g.
- calcBoxByDistFromPt_yHorizAxisDEG(Point, double, SpatialContext) - Method in class org.locationtech.spatial4j.distance.CartesianDistCalc
- calcBoxByDistFromPt_yHorizAxisDEG(Point, double, SpatialContext) - Method in interface org.locationtech.spatial4j.distance.DistanceCalculator
-
The
Y
coordinate of the horizontal axis of a circle that has maximum width. - calcBoxByDistFromPt_yHorizAxisDEG(Point, double, SpatialContext) - Method in class org.locationtech.spatial4j.distance.GeodesicSphereDistCalc
- calcBoxByDistFromPtDEG(double, double, double, SpatialContext, Rectangle) - Static method in class org.locationtech.spatial4j.distance.DistanceUtils
-
Calculates the bounding box of a circle, as specified by its center point and distance.
- calcDistance(Point, double, double) - Method in class org.locationtech.spatial4j.context.SpatialContext
-
Convenience that uses
SpatialContext.getDistCalc()
- calcDistance(Point, Point) - Method in class org.locationtech.spatial4j.context.SpatialContext
-
Convenience that uses
SpatialContext.getDistCalc()
- calcLonDegreesAtLat(double, double) - Static method in class org.locationtech.spatial4j.distance.DistanceUtils
-
Calculates the degrees longitude distance at latitude
lat
to cover a distancedist
. - calculator - Variable in class org.locationtech.spatial4j.context.SpatialContext
- CartesianDistCalc - Class in org.locationtech.spatial4j.distance
-
Calculates based on Euclidean / Cartesian 2d plane.
- CartesianDistCalc() - Constructor for class org.locationtech.spatial4j.distance.CartesianDistCalc
- CartesianDistCalc(boolean) - Constructor for class org.locationtech.spatial4j.distance.CartesianDistCalc
- ccwRect - org.locationtech.spatial4j.context.jts.DatelineRule
-
For rectangular polygons, the point order is interpreted as being counter-clockwise (CCW).
- checkCoordinates(Geometry) - Method in class org.locationtech.spatial4j.io.jts.JtsWKTReaderShapeParser
-
Deprecated.
- checkDefaultFormats() - Method in class org.locationtech.spatial4j.context.jts.JtsSpatialContextFactory
- checkDefaultFormats() - Method in class org.locationtech.spatial4j.context.SpatialContextFactory
-
If no formats were defined in the config, this will make sure GeoJSON and WKT are registered
- circle(double, double, double) - Method in class org.locationtech.spatial4j.shape.impl.ShapeFactoryImpl
- circle(double, double, double) - Method in interface org.locationtech.spatial4j.shape.ShapeFactory
-
Construct a circle.
- circle(Point, double) - Method in class org.locationtech.spatial4j.shape.impl.ShapeFactoryImpl
- circle(Point, double) - Method in interface org.locationtech.spatial4j.shape.ShapeFactory
-
Construct a circle.
- Circle - Interface in org.locationtech.spatial4j.shape
-
A circle, also known as a point-radius since that is what it is comprised of.
- CircleImpl - Class in org.locationtech.spatial4j.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 org.locationtech.spatial4j.shape.impl.CircleImpl
- classLoader - Variable in class org.locationtech.spatial4j.context.SpatialContextFactory
- combine(SpatialRelation) - Method in enum org.locationtech.spatial4j.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 org.locationtech.spatial4j.shape.impl.Range.LongitudeRange
-
Deprecated.
- computeBoundingBox(Collection<? extends Shape>, SpatialContext) - Method in class org.locationtech.spatial4j.shape.ShapeCollection
- computeGeoBBox(Geometry) - Method in class org.locationtech.spatial4j.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 org.locationtech.spatial4j.shape.ShapeCollection
-
Computes whether the shapes are mutually disjoint.
- contains(double) - Method in class org.locationtech.spatial4j.shape.impl.Range
-
Deprecated.
- contains(double) - Method in class org.locationtech.spatial4j.shape.impl.Range.LongitudeRange
-
Deprecated.
- contains(double, double) - Method in class org.locationtech.spatial4j.shape.impl.CircleImpl
- contains(Point) - Method in class org.locationtech.spatial4j.shape.impl.BufferedLine
- contains(Point) - Method in class org.locationtech.spatial4j.shape.impl.InfBufLine
- Contains - Static variable in class org.locationtech.spatial4j.SpatialPredicate
-
Meets the "Covers" OGC definition (boundary-neutral).
- CONTAINS - org.locationtech.spatial4j.shape.SpatialRelation
-
The shape contains the target geometry.
- coordinates - Variable in class org.locationtech.spatial4j.shape.jts.JtsShapeFactory.CoordinatesAccumulator
- CoordinatesAccumulator() - Constructor for class org.locationtech.spatial4j.shape.jts.JtsShapeFactory.CoordinatesAccumulator
- coordinateSequenceFactory - Variable in class org.locationtech.spatial4j.context.jts.JtsSpatialContextFactory
- cornerByQuadrant(Rectangle, int, Point) - Static method in class org.locationtech.spatial4j.shape.impl.InfBufLine
- crossesDateline() - Method in class org.locationtech.spatial4j.shape.impl.Range.LongitudeRange
-
Deprecated.
- ctx - Variable in class org.locationtech.spatial4j.io.BinaryCodec
- ctx - Variable in class org.locationtech.spatial4j.io.GeoJSONReader
- ctx - Variable in class org.locationtech.spatial4j.io.jackson.ShapeDeserializer
- ctx - Variable in class org.locationtech.spatial4j.io.jts.JtsGeoJSONWriter
- ctx - Variable in class org.locationtech.spatial4j.io.jts.JtsPolyshapeWriter
- ctx - Variable in class org.locationtech.spatial4j.io.LegacyShapeReader
-
Deprecated.
- ctx - Variable in class org.locationtech.spatial4j.io.LegacyShapeWriter
-
Deprecated.
- ctx - Variable in class org.locationtech.spatial4j.io.PolyshapeReader
- ctx - Variable in class org.locationtech.spatial4j.io.WKTReader
- ctx - Variable in class org.locationtech.spatial4j.shape.BaseShape
- ctx - Variable in class org.locationtech.spatial4j.shape.impl.BBoxCalculator
- ctx - Variable in class org.locationtech.spatial4j.shape.impl.ShapeFactoryImpl
- ctx - Variable in class org.locationtech.spatial4j.shape.ShapeCollection
- cutUnwrappedGeomInto360(Geometry) - Static method in class org.locationtech.spatial4j.shape.jts.JtsGeometry
-
This "pages" through standard geo boundaries offset by multiples of 360 longitudinally that intersect geom, and the intersecting results of a page and the geom are shifted into the standard -180 to +180 and added to a new geometry that is returned.
D
- datelineRule - Variable in class org.locationtech.spatial4j.context.jts.JtsSpatialContextFactory
- datelineRule - Variable in class org.locationtech.spatial4j.shape.jts.JtsShapeFactory
- DatelineRule - Enum in org.locationtech.spatial4j.context.jts
-
Indicates the algorithm used to process JTS Polygons and JTS LineStrings for detecting dateline (aka anti-meridian) crossings.
- DatelineRule() - Constructor for enum org.locationtech.spatial4j.context.jts.DatelineRule
- decode(String, SpatialContext) - Static method in class org.locationtech.spatial4j.io.GeohashUtils
-
Decodes the given geohash into a longitude (X) and latitude (Y)
- decodeBoundary(String, SpatialContext) - Static method in class org.locationtech.spatial4j.io.GeohashUtils
-
Returns min-max lon (X), min-max lat (Y).
- defaultPrecisionModel - Static variable in class org.locationtech.spatial4j.context.jts.JtsSpatialContextFactory
- DEG_180_AS_RADS - Static variable in class org.locationtech.spatial4j.distance.DistanceUtils
- DEG_225_AS_RADS - Static variable in class org.locationtech.spatial4j.distance.DistanceUtils
-
Deprecated.
- DEG_270_AS_RADS - Static variable in class org.locationtech.spatial4j.distance.DistanceUtils
-
Deprecated.
- DEG_45_AS_RADS - Static variable in class org.locationtech.spatial4j.distance.DistanceUtils
-
Deprecated.
- DEG_90_AS_RADS - Static variable in class org.locationtech.spatial4j.distance.DistanceUtils
- DEG_TO_KM - Static variable in class org.locationtech.spatial4j.distance.DistanceUtils
-
Equivalent to degrees2Dist(1, EARTH_MEAN_RADIUS_KM)
- DEGREES_TO_RADIANS - Static variable in class org.locationtech.spatial4j.distance.DistanceUtils
- degrees2Dist(double, double) - Static method in class org.locationtech.spatial4j.distance.DistanceUtils
-
Converts
degrees
(1/360th of circumference of a circle) into a distance as measured by the units of the radius. - deltaLen(Range) - Method in class org.locationtech.spatial4j.shape.impl.Range
-
Deprecated.
- deserialize(JsonParser, DeserializationContext) - Method in class org.locationtech.spatial4j.io.jackson.GeometryDeserializer
- deserialize(JsonParser, DeserializationContext) - Method in class org.locationtech.spatial4j.io.jackson.ShapeDeserializer
- diff(double, double) - Static method in class org.locationtech.spatial4j.shape.impl.Range.LongitudeRange
-
Deprecated.a - b (compareTo order).
- dimension - Variable in class org.locationtech.spatial4j.io.WKTReader.State
-
Dimensionality specifier (e.g.
- DISJOINT - org.locationtech.spatial4j.shape.SpatialRelation
-
The shape shares no point in common with the target shape.
- dist2Degrees(double, double) - Static method in class org.locationtech.spatial4j.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 org.locationtech.spatial4j.distance.DistanceUtils
-
Converts a distance in the units of
radius
(e.g. - distance(Point, double, double) - Method in class org.locationtech.spatial4j.distance.CartesianDistCalc
- distance(Point, double, double) - Method in interface org.locationtech.spatial4j.distance.DistanceCalculator
-
The distance between
from
andPoint(toX,toY)
. - distance(Point, double, double) - Method in class org.locationtech.spatial4j.distance.GeodesicSphereDistCalc
- distance(Point, Point) - Method in class org.locationtech.spatial4j.distance.AbstractDistanceCalculator
- distance(Point, Point) - Method in interface org.locationtech.spatial4j.distance.DistanceCalculator
-
The distance between
from
andto
. - DistanceCalculator - Interface in org.locationtech.spatial4j.distance
-
Performs calculations relating to distance, such as the distance between a pair of points.
- distanceLatLonRAD(double, double, double, double) - Method in class org.locationtech.spatial4j.distance.GeodesicSphereDistCalc
- distanceLatLonRAD(double, double, double, double) - Method in class org.locationtech.spatial4j.distance.GeodesicSphereDistCalc.Haversine
- distanceLatLonRAD(double, double, double, double) - Method in class org.locationtech.spatial4j.distance.GeodesicSphereDistCalc.LawOfCosines
- distanceLatLonRAD(double, double, double, double) - Method in class org.locationtech.spatial4j.distance.GeodesicSphereDistCalc.Vincenty
- distanceSquared(double, double, double, double) - Static method in class org.locationtech.spatial4j.distance.CartesianDistCalc
- distanceToLineSegment(Point, double, double, double, double) - Method in class org.locationtech.spatial4j.distance.CartesianDistCalc
-
Distance from point to a line segment formed between points 'v' and 'w'.
- distanceUnbuffered(Point) - Method in class org.locationtech.spatial4j.shape.impl.InfBufLine
-
INTERNAL AKA lineToPointDistance
- DistanceUtils - Class in org.locationtech.spatial4j.distance
-
Various distance calculations and constants.
- DistanceUtils() - Constructor for class org.locationtech.spatial4j.distance.DistanceUtils
- distCalc - Variable in class org.locationtech.spatial4j.context.SpatialContextFactory
- distDenomInv - Variable in class org.locationtech.spatial4j.shape.impl.InfBufLine
- distHaversineRAD(double, double, double, double) - Static method in class org.locationtech.spatial4j.distance.DistanceUtils
- distLawOfCosinesRAD(double, double, double, double) - Static method in class org.locationtech.spatial4j.distance.DistanceUtils
-
Calculates the distance between two lat-lon's using the Law of Cosines.
- distSquaredCartesian(double[], double[]) - Static method in class org.locationtech.spatial4j.distance.DistanceUtils
-
Deprecated.
- distVincentyRAD(double, double, double, double) - Static method in class org.locationtech.spatial4j.distance.DistanceUtils
-
Calculates the great circle distance using the Vincenty Formula, simplified for a spherical model.
- doesXWorldWrap() - Method in class org.locationtech.spatial4j.shape.impl.BBoxCalculator
- dser - Variable in class org.locationtech.spatial4j.io.jackson.GeometryDeserializer
E
- EARTH_EQUATORIAL_RADIUS_KM - Static variable in class org.locationtech.spatial4j.distance.DistanceUtils
- EARTH_EQUATORIAL_RADIUS_MI - Static variable in class org.locationtech.spatial4j.distance.DistanceUtils
- EARTH_MEAN_RADIUS_KM - Static variable in class org.locationtech.spatial4j.distance.DistanceUtils
-
The International Union of Geodesy and Geophysics says the Earth's mean radius in KM is: [1] http://en.wikipedia.org/wiki/Earth_radius
- EARTH_MEAN_RADIUS_MI - Static variable in class org.locationtech.spatial4j.distance.DistanceUtils
- empty - Variable in class org.locationtech.spatial4j.shape.jts.JtsPoint
- EMPTY_HOLES - Static variable in class org.locationtech.spatial4j.shape.jts.JtsShapeFactory
- enclosingBox - Variable in class org.locationtech.spatial4j.shape.impl.CircleImpl
- encode(long) - Method in class org.locationtech.spatial4j.io.PolyshapeWriter.Encoder
- encodeLatLon(double, double) - Static method in class org.locationtech.spatial4j.io.GeohashUtils
-
Encodes the given latitude and longitude into a geohash
- encodeLatLon(double, double, int) - Static method in class org.locationtech.spatial4j.io.GeohashUtils
- Encoder(Writer) - Constructor for class org.locationtech.spatial4j.io.PolyshapeWriter.Encoder
- endHole() - Method in class org.locationtech.spatial4j.shape.jts.JtsShapeFactory.JtsPolygonBuilder.JtsHoleBuilder
- endHole() - Method in interface org.locationtech.spatial4j.shape.ShapeFactory.PolygonBuilder.HoleBuilder
-
Finishes the hole and returns the
ShapeFactory.PolygonBuilder
. - eof() - Method in class org.locationtech.spatial4j.io.WKTReader.State
-
If the string is consumed, i.e.
- EPS - Static variable in class org.locationtech.spatial4j.shape.impl.InfBufLine
-
Error epsilon.
- equals(Object) - Method in class org.locationtech.spatial4j.distance.CartesianDistCalc
- equals(Object) - Method in class org.locationtech.spatial4j.distance.GeodesicSphereDistCalc
- equals(Object) - Method in class org.locationtech.spatial4j.io.jackson.ShapesAsGeoJSONModule
- equals(Object) - Method in class org.locationtech.spatial4j.io.jackson.ShapesAsWKTModule
- equals(Object) - Method in class org.locationtech.spatial4j.shape.impl.BufferedLine
- equals(Object) - Method in class org.locationtech.spatial4j.shape.impl.BufferedLineString
- equals(Object) - Method in class org.locationtech.spatial4j.shape.impl.CircleImpl
- equals(Object) - Method in class org.locationtech.spatial4j.shape.impl.PointImpl
- equals(Object) - Method in class org.locationtech.spatial4j.shape.impl.Range
-
Deprecated.
- equals(Object) - Method in class org.locationtech.spatial4j.shape.impl.RectangleImpl
- equals(Object) - Method in class org.locationtech.spatial4j.shape.jts.JtsGeometry
- equals(Object) - Method in class org.locationtech.spatial4j.shape.jts.JtsPoint
- equals(Object) - Method in interface org.locationtech.spatial4j.shape.Shape
-
The sub-classes of Shape generally implement the same contract for
Object.equals(Object)
andObject.hashCode()
amongst the same sub-interface type. - equals(Object) - Method in class org.locationtech.spatial4j.shape.ShapeCollection
- equals(Circle, Object) - Static method in class org.locationtech.spatial4j.shape.impl.CircleImpl
-
All
Circle
implementations should use this definition ofObject.equals(Object)
. - equals(Point, Object) - Static method in class org.locationtech.spatial4j.shape.impl.PointImpl
-
All
Point
implementations should use this definition ofObject.equals(Object)
. - equals(Rectangle, Object) - Static method in class org.locationtech.spatial4j.shape.impl.RectangleImpl
-
All
Rectangle
implementations should use this definition ofObject.equals(Object)
. - error - org.locationtech.spatial4j.context.jts.ValidationRule
-
Geometries will be explicitly validated on creation, possibly resulting in an exception:
InvalidShapeException
. - evaluate(Shape, Shape) - Method in class org.locationtech.spatial4j.SpatialPredicate
-
Returns whether the relationship between indexedShape and queryShape is satisfied by this operation.
- expandBufForLongitudeSkew(Point, Point, double) - Static method in class org.locationtech.spatial4j.shape.impl.BufferedLine
-
Calls
DistanceUtils.calcLonDegreesAtLat(double, double)
given pA or pB's latitude; whichever is farthest. - expandRange(double, double, double, double) - Method in class org.locationtech.spatial4j.shape.impl.BBoxCalculator
- expandRange(Rectangle) - Method in class org.locationtech.spatial4j.shape.impl.BBoxCalculator
- expandTo(Range) - Method in class org.locationtech.spatial4j.shape.impl.Range
-
Deprecated.
- expandTo(Range) - Method in class org.locationtech.spatial4j.shape.impl.Range.LongitudeRange
-
Deprecated.
- expandTo(Range.LongitudeRange) - Method in class org.locationtech.spatial4j.shape.impl.Range.LongitudeRange
-
Deprecated.
- expandXRange(double, double) - Method in class org.locationtech.spatial4j.shape.impl.BBoxCalculator
F
- fillPoints(ShapeFactory.PointsBuilder, ArrayNode) - Method in class org.locationtech.spatial4j.io.jackson.ShapeDeserializer
- fillPolygon(ShapeFactory.PolygonBuilder, ArrayNode) - Method in class org.locationtech.spatial4j.io.jackson.ShapeDeserializer
- forJTS - Variable in class org.locationtech.spatial4j.io.jackson.ShapeAsGeoJSONSerializer
- formats - Variable in class org.locationtech.spatial4j.context.SpatialContext
G
- GeneralShapeMultiShapeBuilder() - Constructor for class org.locationtech.spatial4j.shape.impl.ShapeFactoryImpl.GeneralShapeMultiShapeBuilder
- geo - Variable in class org.locationtech.spatial4j.context.SpatialContext
- geo - Variable in class org.locationtech.spatial4j.context.SpatialContextFactory
- GEO - Static variable in class org.locationtech.spatial4j.context.jts.JtsSpatialContext
- GEO - Static variable in class org.locationtech.spatial4j.context.SpatialContext
-
A popular default SpatialContext implementation for geospatial.
- GeoCircle - Class in org.locationtech.spatial4j.shape.impl
-
A circle as it exists on the surface of a sphere.
- GeoCircle(Point, double, SpatialContext) - Constructor for class org.locationtech.spatial4j.shape.impl.GeoCircle
- GeodesicSphereDistCalc - Class in org.locationtech.spatial4j.distance
-
A base class for a Distance Calculator that assumes a spherical earth model.
- GeodesicSphereDistCalc() - Constructor for class org.locationtech.spatial4j.distance.GeodesicSphereDistCalc
- GeodesicSphereDistCalc.Haversine - Class in org.locationtech.spatial4j.distance
- GeodesicSphereDistCalc.LawOfCosines - Class in org.locationtech.spatial4j.distance
- GeodesicSphereDistCalc.Vincenty - Class in org.locationtech.spatial4j.distance
- GeohashUtils - Class in org.locationtech.spatial4j.io
-
Utilities for encoding and decoding geohashes.
- GeohashUtils() - Constructor for class org.locationtech.spatial4j.io.GeohashUtils
- GeoJSON - Static variable in interface org.locationtech.spatial4j.io.ShapeIO
- geoJsonReader - Variable in class org.locationtech.spatial4j.io.SupportedFormats
- GeoJSONReader - Class in org.locationtech.spatial4j.io
- GeoJSONReader(SpatialContext, SpatialContextFactory) - Constructor for class org.locationtech.spatial4j.io.GeoJSONReader
- geoJsonWriter - Variable in class org.locationtech.spatial4j.io.SupportedFormats
- GeoJSONWriter - Class in org.locationtech.spatial4j.io
- GeoJSONWriter(SpatialContext, SpatialContextFactory) - Constructor for class org.locationtech.spatial4j.io.GeoJSONWriter
- geom - Variable in class org.locationtech.spatial4j.shape.jts.JtsGeometry
- GeometryAsGeoJSONSerializer - Class in org.locationtech.spatial4j.io.jackson
- GeometryAsGeoJSONSerializer() - Constructor for class org.locationtech.spatial4j.io.jackson.GeometryAsGeoJSONSerializer
- GeometryAsWKTSerializer - Class in org.locationtech.spatial4j.io.jackson
- GeometryAsWKTSerializer() - Constructor for class org.locationtech.spatial4j.io.jackson.GeometryAsWKTSerializer
- GeometryDeserializer - Class in org.locationtech.spatial4j.io.jackson
- GeometryDeserializer() - Constructor for class org.locationtech.spatial4j.io.jackson.GeometryDeserializer
- geometryFactory - Variable in class org.locationtech.spatial4j.shape.jts.JtsShapeFactory
- geoms - Variable in class org.locationtech.spatial4j.shape.jts.JtsShapeFactory.JtsMultiLineStringBuilder
- geoms - Variable in class org.locationtech.spatial4j.shape.jts.JtsShapeFactory.JtsMultiPolygonBuilder
- get(int) - Method in class org.locationtech.spatial4j.shape.ShapeCollection
- get(String) - Static method in class org.locationtech.spatial4j.SpatialPredicate
- getA() - Method in class org.locationtech.spatial4j.shape.impl.BufferedLine
- getArea(SpatialContext) - Method in class org.locationtech.spatial4j.shape.impl.BufferedLine
- getArea(SpatialContext) - Method in class org.locationtech.spatial4j.shape.impl.BufferedLineString
- getArea(SpatialContext) - Method in class org.locationtech.spatial4j.shape.impl.CircleImpl
- getArea(SpatialContext) - Method in class org.locationtech.spatial4j.shape.impl.PointImpl
- getArea(SpatialContext) - Method in class org.locationtech.spatial4j.shape.impl.RectangleImpl
- getArea(SpatialContext) - Method in class org.locationtech.spatial4j.shape.jts.JtsGeometry
- getArea(SpatialContext) - Method in class org.locationtech.spatial4j.shape.jts.JtsPoint
- getArea(SpatialContext) - Method in interface org.locationtech.spatial4j.shape.Shape
-
Calculates the area of the shape, in square-degrees.
- getArea(SpatialContext) - Method in class org.locationtech.spatial4j.shape.ShapeCollection
- getB() - Method in class org.locationtech.spatial4j.shape.impl.BufferedLine
- getBinaryCodec() - Method in class org.locationtech.spatial4j.context.SpatialContext
- getBoundary() - Method in class org.locationtech.spatial4j.shape.impl.BBoxCalculator
- getBoundingBox() - Method in class org.locationtech.spatial4j.shape.impl.BufferedLine
- getBoundingBox() - Method in class org.locationtech.spatial4j.shape.impl.BufferedLineString
- getBoundingBox() - Method in class org.locationtech.spatial4j.shape.impl.CircleImpl
-
Note that the bounding box might contain a minX that is > maxX, due to WGS84 anti-meridian.
- getBoundingBox() - Method in class org.locationtech.spatial4j.shape.impl.PointImpl
- getBoundingBox() - Method in class org.locationtech.spatial4j.shape.impl.RectangleImpl
- getBoundingBox() - Method in class org.locationtech.spatial4j.shape.jts.JtsGeometry
- getBoundingBox() - Method in class org.locationtech.spatial4j.shape.jts.JtsPoint
- getBoundingBox() - Method in interface org.locationtech.spatial4j.shape.Shape
-
Get the bounding box for this Shape.
- getBoundingBox() - Method in class org.locationtech.spatial4j.shape.ShapeCollection
- getBuf() - Method in class org.locationtech.spatial4j.shape.impl.BufferedLine
- getBuf() - Method in class org.locationtech.spatial4j.shape.impl.BufferedLineString
- getBuf() - Method in class org.locationtech.spatial4j.shape.impl.InfBufLine
- getBuffered(double, SpatialContext) - Method in class org.locationtech.spatial4j.shape.impl.BufferedLine
- getBuffered(double, SpatialContext) - Method in class org.locationtech.spatial4j.shape.impl.BufferedLineString
- getBuffered(double, SpatialContext) - Method in class org.locationtech.spatial4j.shape.impl.CircleImpl
- getBuffered(double, SpatialContext) - Method in class org.locationtech.spatial4j.shape.impl.PointImpl
- getBuffered(double, SpatialContext) - Method in class org.locationtech.spatial4j.shape.impl.RectangleImpl
- getBuffered(double, SpatialContext) - Method in class org.locationtech.spatial4j.shape.jts.JtsGeometry
- getBuffered(double, SpatialContext) - Method in class org.locationtech.spatial4j.shape.jts.JtsPoint
- getBuffered(double, SpatialContext) - Method in interface org.locationtech.spatial4j.shape.Shape
-
Returns a buffered version of this shape.
- getBuffered(double, SpatialContext) - Method in class org.locationtech.spatial4j.shape.ShapeCollection
- getCenter() - Method in class org.locationtech.spatial4j.shape.impl.BufferedLine
- getCenter() - Method in class org.locationtech.spatial4j.shape.impl.BufferedLineString
- getCenter() - Method in class org.locationtech.spatial4j.shape.impl.CircleImpl
- getCenter() - Method in class org.locationtech.spatial4j.shape.impl.PointImpl
- getCenter() - Method in class org.locationtech.spatial4j.shape.impl.Range
-
Deprecated.
- getCenter() - Method in class org.locationtech.spatial4j.shape.impl.Range.LongitudeRange
-
Deprecated.
- getCenter() - Method in class org.locationtech.spatial4j.shape.impl.RectangleImpl
- getCenter() - Method in class org.locationtech.spatial4j.shape.jts.JtsGeometry
- getCenter() - Method in class org.locationtech.spatial4j.shape.jts.JtsPoint
- getCenter() - Method in interface org.locationtech.spatial4j.shape.Shape
-
Returns the center point of this shape.
- getCenter() - Method in class org.locationtech.spatial4j.shape.ShapeCollection
- getContext() - Method in class org.locationtech.spatial4j.shape.BaseShape
- getContext() - Method in interface org.locationtech.spatial4j.shape.Shape
-
Get the SpatialContext that created the Shape
- getContext() - Method in class org.locationtech.spatial4j.shape.ShapeCollection
- getCoordsArray() - Method in class org.locationtech.spatial4j.shape.jts.JtsShapeFactory.CoordinatesAccumulator
- getCrossesDateLine() - Method in class org.locationtech.spatial4j.shape.impl.RectangleImpl
- getCrossesDateLine() - Method in interface org.locationtech.spatial4j.shape.Rectangle
-
Only meaningful for geospatial contexts.
- getCtx() - Method in class org.locationtech.spatial4j.io.WKTReader.State
- getDatelineRule() - Method in class org.locationtech.spatial4j.context.jts.JtsSpatialContext
-
Deprecated.
- getDatelineRule() - Method in class org.locationtech.spatial4j.shape.jts.JtsShapeFactory
-
Returns the rule used to handle geometry objects that have dateline (aka anti-meridian) crossing considerations.
- getDistCalc() - Method in class org.locationtech.spatial4j.context.SpatialContext
- getDistDenomInv() - Method in class org.locationtech.spatial4j.shape.impl.InfBufLine
-
1 / Math.sqrt(slope * slope + 1)
- getFormatName() - Method in class org.locationtech.spatial4j.io.GeoJSONReader
- getFormatName() - Method in class org.locationtech.spatial4j.io.GeoJSONWriter
- getFormatName() - Method in class org.locationtech.spatial4j.io.LegacyShapeReader
-
Deprecated.
- getFormatName() - Method in class org.locationtech.spatial4j.io.LegacyShapeWriter
-
Deprecated.
- getFormatName() - Method in class org.locationtech.spatial4j.io.PolyshapeReader
- getFormatName() - Method in class org.locationtech.spatial4j.io.PolyshapeWriter
- getFormatName() - Method in interface org.locationtech.spatial4j.io.ShapeIO
- getFormatName() - Method in class org.locationtech.spatial4j.io.WKTReader
- getFormatName() - Method in class org.locationtech.spatial4j.io.WKTWriter
- getFormats() - Method in class org.locationtech.spatial4j.context.SpatialContext
- getGeoJsonReader() - Method in class org.locationtech.spatial4j.io.SupportedFormats
- getGeoJsonWriter() - Method in class org.locationtech.spatial4j.io.SupportedFormats
- getGeom() - Method in class org.locationtech.spatial4j.shape.jts.JtsGeometry
- getGeom() - Method in class org.locationtech.spatial4j.shape.jts.JtsPoint
- getGeometryFactory() - Method in class org.locationtech.spatial4j.context.jts.JtsSpatialContext
-
Deprecated.
- getGeometryFactory() - Method in class org.locationtech.spatial4j.context.jts.JtsSpatialContextFactory
- getGeometryFactory() - Method in class org.locationtech.spatial4j.shape.jts.JtsShapeFactory
- getGeometryFrom(Shape) - Method in class org.locationtech.spatial4j.context.jts.JtsSpatialContext
-
Deprecated.
- getGeometryFrom(Shape) - Method in class org.locationtech.spatial4j.shape.jts.JtsShapeFactory
-
Gets a JTS
Geometry
for the givenShape
. - getHeight() - Method in class org.locationtech.spatial4j.shape.impl.RectangleImpl
- getHeight() - Method in interface org.locationtech.spatial4j.shape.Rectangle
-
The height.
- getIntercept() - Method in class org.locationtech.spatial4j.shape.impl.InfBufLine
- getLat() - Method in class org.locationtech.spatial4j.shape.impl.PointImpl
- getLat() - Method in class org.locationtech.spatial4j.shape.jts.JtsPoint
- getLat() - Method in interface org.locationtech.spatial4j.shape.Point
-
Convenience method that usually maps on
Point.getY()
- getLinePerp() - Method in class org.locationtech.spatial4j.shape.impl.BufferedLine
-
INTERNAL
- getLinePrimary() - Method in class org.locationtech.spatial4j.shape.impl.BufferedLine
-
INTERNAL
- getLon() - Method in class org.locationtech.spatial4j.shape.impl.PointImpl
- getLon() - Method in class org.locationtech.spatial4j.shape.jts.JtsPoint
- getLon() - Method in interface org.locationtech.spatial4j.shape.Point
-
Convenience method that usually maps on
Point.getX()
- getMax() - Method in class org.locationtech.spatial4j.shape.impl.Range
-
Deprecated.
- getMaxX() - Method in class org.locationtech.spatial4j.shape.impl.BBoxCalculator
- getMaxX() - Method in class org.locationtech.spatial4j.shape.impl.RectangleImpl
- getMaxX() - Method in interface org.locationtech.spatial4j.shape.Rectangle
-
The right edge of the X coordinate.
- getMaxY() - Method in class org.locationtech.spatial4j.shape.impl.BBoxCalculator
- getMaxY() - Method in class org.locationtech.spatial4j.shape.impl.RectangleImpl
- getMaxY() - Method in interface org.locationtech.spatial4j.shape.Rectangle
-
The top edge of the Y coordinate.
- getMin() - Method in class org.locationtech.spatial4j.shape.impl.Range
-
Deprecated.
- getMinX() - Method in class org.locationtech.spatial4j.shape.impl.BBoxCalculator
- getMinX() - Method in class org.locationtech.spatial4j.shape.impl.RectangleImpl
- getMinX() - Method in interface org.locationtech.spatial4j.shape.Rectangle
-
The left edge of the X coordinate.
- getMinY() - Method in class org.locationtech.spatial4j.shape.impl.BBoxCalculator
- getMinY() - Method in class org.locationtech.spatial4j.shape.impl.RectangleImpl
- getMinY() - Method in interface org.locationtech.spatial4j.shape.Rectangle
-
The bottom edge of the Y coordinate.
- getModuleName() - Method in class org.locationtech.spatial4j.io.jackson.ShapesAsGeoJSONModule
- getModuleName() - Method in class org.locationtech.spatial4j.io.jackson.ShapesAsWKTModule
- getName() - Method in class org.locationtech.spatial4j.SpatialPredicate
- getNumberFormat() - Method in class org.locationtech.spatial4j.io.WKTWriter
- getParser() - Method in class org.locationtech.spatial4j.io.WKTReader.State
- getPoint() - Method in class org.locationtech.spatial4j.io.OnePointsBuilder
- getPoints() - Method in class org.locationtech.spatial4j.shape.impl.BufferedLineString
- getRadius() - Method in interface org.locationtech.spatial4j.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 org.locationtech.spatial4j.shape.impl.CircleImpl
- getReader(String) - Method in class org.locationtech.spatial4j.io.SupportedFormats
- getReaders() - Method in class org.locationtech.spatial4j.io.SupportedFormats
- getSegments() - Method in class org.locationtech.spatial4j.shape.impl.BufferedLineString
- getShapeFactory() - Method in class org.locationtech.spatial4j.context.jts.JtsSpatialContext
- getShapeFactory() - Method in class org.locationtech.spatial4j.context.SpatialContext
-
A factory for
Shape
s. - getShapeFactory() - Method in class org.locationtech.spatial4j.io.jts.JtsWKTReaderShapeParser
-
Deprecated.
- getShapes() - Method in class org.locationtech.spatial4j.shape.ShapeCollection
- getSlope() - Method in class org.locationtech.spatial4j.shape.impl.InfBufLine
- getSpatialContext() - Method in class org.locationtech.spatial4j.shape.impl.ShapeFactoryImpl
- getSpatialContext() - Method in interface org.locationtech.spatial4j.shape.ShapeFactory
- getSubGeohashes(String) - Static method in class org.locationtech.spatial4j.io.GeohashUtils
-
Array of geohashes 1 level below the baseGeohash.
- getThis() - Method in class org.locationtech.spatial4j.shape.jts.JtsShapeFactory.CoordinatesAccumulator
- getValidationRule() - Method in class org.locationtech.spatial4j.context.jts.JtsSpatialContext
-
Deprecated.
- getValidationRule() - Method in class org.locationtech.spatial4j.shape.jts.JtsShapeFactory
-
Returns the rule used to handle errors when creating a JTS
Geometry
, particularly after it has been read from one of theShapeReader
s. - getWidth() - Method in class org.locationtech.spatial4j.shape.impl.Range
-
Deprecated.
- getWidth() - Method in class org.locationtech.spatial4j.shape.impl.Range.LongitudeRange
-
Deprecated.
- getWidth() - Method in class org.locationtech.spatial4j.shape.impl.RectangleImpl
- getWidth() - Method in interface org.locationtech.spatial4j.shape.Rectangle
-
The width.
- getWktReader() - Method in class org.locationtech.spatial4j.io.SupportedFormats
- getWktShapeParser() - Method in class org.locationtech.spatial4j.context.SpatialContext
-
Deprecated.
- getWktWriter() - Method in class org.locationtech.spatial4j.io.SupportedFormats
- getWorldBounds() - Method in class org.locationtech.spatial4j.context.SpatialContext
-
The extent of x & y coordinates should fit within the return'ed rectangle.
- getWriter(String) - Method in class org.locationtech.spatial4j.io.SupportedFormats
- getWriters() - Method in class org.locationtech.spatial4j.io.SupportedFormats
- getX() - Method in class org.locationtech.spatial4j.shape.impl.PointImpl
- getX() - Method in class org.locationtech.spatial4j.shape.jts.JtsPoint
- getX() - Method in interface org.locationtech.spatial4j.shape.Point
-
The X coordinate, or Longitude in geospatial contexts.
- getXAxis() - Method in class org.locationtech.spatial4j.shape.impl.CircleImpl
-
The
X
coordinate of where the circle axis intersect. - getY() - Method in class org.locationtech.spatial4j.shape.impl.PointImpl
- getY() - Method in class org.locationtech.spatial4j.shape.jts.JtsPoint
- getY() - Method in interface org.locationtech.spatial4j.shape.Point
-
The Y coordinate, or Latitude in geospatial contexts.
- getYAxis() - Method in class org.locationtech.spatial4j.shape.impl.CircleImpl
-
The
Y
coordinate of where the circle axis intersect. - getYAxis() - Method in class org.locationtech.spatial4j.shape.impl.GeoCircle
H
- hasArea - Variable in class org.locationtech.spatial4j.shape.jts.JtsGeometry
- hasArea() - Method in class org.locationtech.spatial4j.shape.impl.BufferedLine
- hasArea() - Method in class org.locationtech.spatial4j.shape.impl.BufferedLineString
- hasArea() - Method in class org.locationtech.spatial4j.shape.impl.CircleImpl
- hasArea() - Method in class org.locationtech.spatial4j.shape.impl.PointImpl
- hasArea() - Method in class org.locationtech.spatial4j.shape.impl.RectangleImpl
- hasArea() - Method in class org.locationtech.spatial4j.shape.jts.JtsGeometry
- hasArea() - Method in class org.locationtech.spatial4j.shape.jts.JtsPoint
- hasArea() - Method in interface org.locationtech.spatial4j.shape.Shape
-
Does the shape have area? This will be false for points and lines.
- hasArea() - Method in class org.locationtech.spatial4j.shape.ShapeCollection
- hasFormatConfig - Variable in class org.locationtech.spatial4j.context.SpatialContextFactory
- hashCode() - Method in class org.locationtech.spatial4j.distance.CartesianDistCalc
- hashCode() - Method in class org.locationtech.spatial4j.distance.GeodesicSphereDistCalc
- hashCode() - Method in class org.locationtech.spatial4j.io.jackson.ShapesAsGeoJSONModule
- hashCode() - Method in class org.locationtech.spatial4j.io.jackson.ShapesAsWKTModule
- hashCode() - Method in class org.locationtech.spatial4j.shape.impl.BufferedLine
- hashCode() - Method in class org.locationtech.spatial4j.shape.impl.BufferedLineString
- hashCode() - Method in class org.locationtech.spatial4j.shape.impl.CircleImpl
- hashCode() - Method in class org.locationtech.spatial4j.shape.impl.PointImpl
- hashCode() - Method in class org.locationtech.spatial4j.shape.impl.Range
-
Deprecated.
- hashCode() - Method in class org.locationtech.spatial4j.shape.impl.RectangleImpl
- hashCode() - Method in class org.locationtech.spatial4j.shape.jts.JtsGeometry
- hashCode() - Method in class org.locationtech.spatial4j.shape.jts.JtsPoint
- hashCode() - Method in class org.locationtech.spatial4j.shape.ShapeCollection
- hashCode(Circle) - Static method in class org.locationtech.spatial4j.shape.impl.CircleImpl
-
All
Circle
implementations should use this definition ofObject.hashCode()
. - hashCode(Point) - Static method in class org.locationtech.spatial4j.shape.impl.PointImpl
-
All
Point
implementations should use this definition ofObject.hashCode()
. - hashCode(Rectangle) - Static method in class org.locationtech.spatial4j.shape.impl.RectangleImpl
-
All
Rectangle
implementations should use this definition ofObject.hashCode()
. - hashLenToLatHeight - Static variable in class org.locationtech.spatial4j.io.GeohashUtils
-
See the table at http://en.wikipedia.org/wiki/Geohash
- hashLenToLonWidth - Static variable in class org.locationtech.spatial4j.io.GeohashUtils
-
See the table at http://en.wikipedia.org/wiki/Geohash
- Haversine() - Constructor for class org.locationtech.spatial4j.distance.GeodesicSphereDistCalc.Haversine
- head - Variable in class org.locationtech.spatial4j.io.PolyshapeReader.XReader
- hole() - Method in class org.locationtech.spatial4j.shape.jts.JtsShapeFactory.JtsPolygonBuilder
- hole() - Method in interface org.locationtech.spatial4j.shape.ShapeFactory.PolygonBuilder
-
Starts a new hole.
- holes - Variable in class org.locationtech.spatial4j.shape.jts.JtsShapeFactory.JtsPolygonBuilder
- horizAxisY - Variable in class org.locationtech.spatial4j.shape.impl.GeoCircle
I
- index() - Method in class org.locationtech.spatial4j.shape.jts.JtsGeometry
-
Adds an index to this class internally to compute spatial relations faster.
- InfBufLine - Class in org.locationtech.spatial4j.shape.impl
-
INERNAL: A buffered line of infinite length.
- InfBufLine(double, Point, double) - Constructor for class org.locationtech.spatial4j.shape.impl.InfBufLine
- init() - Method in class org.locationtech.spatial4j.shape.impl.GeoCircle
- init(Map<String, String>, ClassLoader) - Method in class org.locationtech.spatial4j.context.jts.JtsSpatialContextFactory
- init(Map<String, String>, ClassLoader) - Method in class org.locationtech.spatial4j.context.SpatialContextFactory
- initCalculator() - Method in class org.locationtech.spatial4j.context.SpatialContextFactory
- initField(String) - Method in class org.locationtech.spatial4j.context.SpatialContextFactory
-
Gets
name
from args and populates a field by the same name with the value. - initFormats() - Method in class org.locationtech.spatial4j.context.SpatialContextFactory
-
Check args for 'readers' and 'writers'.
- initFromLegacyConstructor(boolean, DistanceCalculator, Rectangle) - Static method in class org.locationtech.spatial4j.context.SpatialContext
- initWorldBounds() - Method in class org.locationtech.spatial4j.context.SpatialContextFactory
- input - Variable in class org.locationtech.spatial4j.io.PolyshapeReader.XReader
- INSTANCE - Static variable in class org.locationtech.spatial4j.distance.CartesianDistCalc
- INSTANCE_SQUARED - Static variable in class org.locationtech.spatial4j.distance.CartesianDistCalc
- intercept - Variable in class org.locationtech.spatial4j.shape.impl.InfBufLine
- intersectionMatrixToSpatialRelation(IntersectionMatrix) - Static method in class org.locationtech.spatial4j.shape.jts.JtsGeometry
- intersects() - Method in enum org.locationtech.spatial4j.shape.SpatialRelation
-
Not DISJOINT, i.e.
- Intersects - Static variable in class org.locationtech.spatial4j.SpatialPredicate
-
Meets the "Intersects" OGC definition.
- INTERSECTS - org.locationtech.spatial4j.shape.SpatialRelation
-
The shape shares some points/overlap with the target shape, and the relation is not more specifically
SpatialRelation.WITHIN
orSpatialRelation.CONTAINS
. - InvalidShapeException - Exception in org.locationtech.spatial4j.exception
-
A shape was constructed but failed because, based on the given parts, it's invalid.
- InvalidShapeException(String) - Constructor for exception org.locationtech.spatial4j.exception.InvalidShapeException
- InvalidShapeException(String, Throwable) - Constructor for exception org.locationtech.spatial4j.exception.InvalidShapeException
- inverse() - Method in enum org.locationtech.spatial4j.shape.SpatialRelation
-
If
aShape.relate(bShape)
is r, thenr.inverse()
isinverse(aShape).relate(bShape)
whereasinverse(shape)
is theoretically the opposite area covered by a shape, i.e. - inverseCircle - Variable in class org.locationtech.spatial4j.shape.impl.GeoCircle
- is(SpatialPredicate, SpatialPredicate...) - Static method in class org.locationtech.spatial4j.SpatialPredicate
- isAllowMultiOverlap() - Method in class org.locationtech.spatial4j.context.jts.JtsSpatialContext
-
Deprecated.
- isAllowMultiOverlap() - Method in class org.locationtech.spatial4j.shape.jts.JtsShapeFactory
-
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 org.locationtech.spatial4j.context.jts.JtsSpatialContext
-
Deprecated.
- isAutoIndex() - Method in class org.locationtech.spatial4j.shape.jts.JtsShapeFactory
-
If JtsGeometry shapes should be automatically "prepared" (i.e.
- isData() - Method in class org.locationtech.spatial4j.io.PolyshapeReader.XReader
- IsDisjointTo - Static variable in class org.locationtech.spatial4j.SpatialPredicate
-
Meets the "Disjoint" OGC definition.
- isDone() - Method in class org.locationtech.spatial4j.io.PolyshapeReader.XReader
- isEmpty() - Method in class org.locationtech.spatial4j.shape.impl.BufferedLine
- isEmpty() - Method in class org.locationtech.spatial4j.shape.impl.BufferedLineString
- isEmpty() - Method in class org.locationtech.spatial4j.shape.impl.CircleImpl
- isEmpty() - Method in class org.locationtech.spatial4j.shape.impl.PointImpl
- isEmpty() - Method in class org.locationtech.spatial4j.shape.impl.RectangleImpl
- isEmpty() - Method in class org.locationtech.spatial4j.shape.jts.JtsGeometry
- isEmpty() - Method in class org.locationtech.spatial4j.shape.jts.JtsPoint
- isEmpty() - Method in interface org.locationtech.spatial4j.shape.Shape
-
Shapes can be "empty", which is to say it exists nowhere.
- IsEqualTo - Static variable in class org.locationtech.spatial4j.SpatialPredicate
-
Meets the "Equals" OGC definition.
- isEvent() - Method in class org.locationtech.spatial4j.io.PolyshapeReader.XReader
- isGeo() - Method in class org.locationtech.spatial4j.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".
- isIndexed() - Method in class org.locationtech.spatial4j.shape.jts.JtsGeometry
-
Determines if the shape has been indexed.
- isNormWrapLongitude() - Method in class org.locationtech.spatial4j.context.SpatialContext
-
Deprecated.
- isNormWrapLongitude() - Method in class org.locationtech.spatial4j.shape.impl.ShapeFactoryImpl
- isNormWrapLongitude() - Method in interface org.locationtech.spatial4j.shape.ShapeFactory
-
If true then
ShapeFactory.normX(double)
will wrap longitudes outside of the standard geodetic boundary into it. - IsWithin - Static variable in class org.locationtech.spatial4j.SpatialPredicate
-
Meets the "CoveredBy" OGC definition (boundary-neutral).
J
- JTS - Static variable in class org.locationtech.spatial4j.io.jackson.GeometryDeserializer
- JtsBinaryCodec - Class in org.locationtech.spatial4j.io.jts
-
Writes shapes in WKB, if it isn't otherwise supported by the superclass.
- JtsBinaryCodec(JtsSpatialContext, JtsSpatialContextFactory) - Constructor for class org.locationtech.spatial4j.io.jts.JtsBinaryCodec
- JtsGeoJSONWriter - Class in org.locationtech.spatial4j.io.jts
- JtsGeoJSONWriter(JtsSpatialContext, SpatialContextFactory) - Constructor for class org.locationtech.spatial4j.io.jts.JtsGeoJSONWriter
- JtsGeometry - Class in org.locationtech.spatial4j.shape.jts
-
Wraps a JTS
Geometry
(i.e. - JtsGeometry(Geometry, JtsSpatialContext, boolean, boolean) - Constructor for class org.locationtech.spatial4j.shape.jts.JtsGeometry
- JtsHoleBuilder() - Constructor for class org.locationtech.spatial4j.shape.jts.JtsShapeFactory.JtsPolygonBuilder.JtsHoleBuilder
- JtsLineStringBuilder() - Constructor for class org.locationtech.spatial4j.shape.jts.JtsShapeFactory.JtsLineStringBuilder
- JtsMultiLineStringBuilder() - Constructor for class org.locationtech.spatial4j.shape.jts.JtsShapeFactory.JtsMultiLineStringBuilder
- JtsMultiPointBuilder() - Constructor for class org.locationtech.spatial4j.shape.jts.JtsShapeFactory.JtsMultiPointBuilder
- JtsMultiPolygonBuilder() - Constructor for class org.locationtech.spatial4j.shape.jts.JtsShapeFactory.JtsMultiPolygonBuilder
- JtsMultiShapeBuilder() - Constructor for class org.locationtech.spatial4j.shape.jts.JtsShapeFactory.JtsMultiShapeBuilder
- JtsPoint - Class in org.locationtech.spatial4j.shape.jts
-
Wraps a
Point
. - JtsPoint(Point, JtsSpatialContext) - Constructor for class org.locationtech.spatial4j.shape.jts.JtsPoint
-
A simple constructor without normalization / validation.
- JtsPolygonBuilder() - Constructor for class org.locationtech.spatial4j.shape.jts.JtsShapeFactory.JtsPolygonBuilder
- JtsPolyshapeWriter - Class in org.locationtech.spatial4j.io.jts
- JtsPolyshapeWriter(JtsSpatialContext, SpatialContextFactory) - Constructor for class org.locationtech.spatial4j.io.jts.JtsPolyshapeWriter
- JtsShapeFactory - Class in org.locationtech.spatial4j.shape.jts
-
Enhances
ShapeFactoryImpl
with support for Polygons using JTS. - JtsShapeFactory(JtsSpatialContext, JtsSpatialContextFactory) - Constructor for class org.locationtech.spatial4j.shape.jts.JtsShapeFactory
-
Called by
JtsSpatialContextFactory.newSpatialContext()
. - JtsShapeFactory.CoordinatesAccumulator<T extends JtsShapeFactory.CoordinatesAccumulator> - Class in org.locationtech.spatial4j.shape.jts
- JtsShapeFactory.JtsLineStringBuilder - Class in org.locationtech.spatial4j.shape.jts
- JtsShapeFactory.JtsMultiLineStringBuilder - Class in org.locationtech.spatial4j.shape.jts
- JtsShapeFactory.JtsMultiPointBuilder - Class in org.locationtech.spatial4j.shape.jts
- JtsShapeFactory.JtsMultiPolygonBuilder - Class in org.locationtech.spatial4j.shape.jts
- JtsShapeFactory.JtsMultiShapeBuilder<T extends Shape> - Class in org.locationtech.spatial4j.shape.jts
- JtsShapeFactory.JtsPolygonBuilder - Class in org.locationtech.spatial4j.shape.jts
- JtsShapeFactory.JtsPolygonBuilder.JtsHoleBuilder - Class in org.locationtech.spatial4j.shape.jts
- JtsSpatialContext - Class in org.locationtech.spatial4j.context.jts
-
Enhances the default
SpatialContext
with support for Polygons (and other geometries) using JTS. - JtsSpatialContext(JtsSpatialContextFactory) - Constructor for class org.locationtech.spatial4j.context.jts.JtsSpatialContext
-
Called by
JtsSpatialContextFactory.newSpatialContext()
. - JtsSpatialContextFactory - Class in org.locationtech.spatial4j.context.jts
- JtsSpatialContextFactory() - Constructor for class org.locationtech.spatial4j.context.jts.JtsSpatialContextFactory
- JtsWKTReaderShapeParser - Class in org.locationtech.spatial4j.io.jts
-
Deprecated.
- JtsWKTReaderShapeParser(JtsSpatialContext, JtsSpatialContextFactory) - Constructor for class org.locationtech.spatial4j.io.jts.JtsWKTReaderShapeParser
-
Deprecated.
- JtsWKTWriter - Class in org.locationtech.spatial4j.io.jts
-
Writes the WKT using JTS directly
- JtsWKTWriter(JtsSpatialContext, JtsSpatialContextFactory) - Constructor for class org.locationtech.spatial4j.io.jts.JtsWKTWriter
K
- KEY_ARG_END - Static variable in class org.locationtech.spatial4j.io.PolyshapeWriter
- KEY_ARG_START - Static variable in class org.locationtech.spatial4j.io.PolyshapeWriter
- KEY_BOX - Static variable in class org.locationtech.spatial4j.io.PolyshapeWriter
- KEY_CIRCLE - Static variable in class org.locationtech.spatial4j.io.PolyshapeWriter
- KEY_LINE - Static variable in class org.locationtech.spatial4j.io.PolyshapeWriter
- KEY_MULTIPOINT - Static variable in class org.locationtech.spatial4j.io.PolyshapeWriter
- KEY_POINT - Static variable in class org.locationtech.spatial4j.io.PolyshapeWriter
- KEY_POLYGON - Static variable in class org.locationtech.spatial4j.io.PolyshapeWriter
- KEY_SEPERATOR - Static variable in class org.locationtech.spatial4j.io.PolyshapeWriter
- KM_TO_DEG - Static variable in class org.locationtech.spatial4j.distance.DistanceUtils
- KM_TO_MILES - Static variable in class org.locationtech.spatial4j.distance.DistanceUtils
L
- lastLat - Variable in class org.locationtech.spatial4j.io.PolyshapeWriter.Encoder
- lastLng - Variable in class org.locationtech.spatial4j.io.PolyshapeWriter.Encoder
- lat - Variable in class org.locationtech.spatial4j.io.PolyshapeReader.XReader
- LawOfCosines() - Constructor for class org.locationtech.spatial4j.distance.GeodesicSphereDistCalc.LawOfCosines
- LEGACY - Static variable in interface org.locationtech.spatial4j.io.ShapeIO
- LegacyShapeReader - Class in org.locationtech.spatial4j.io
-
Deprecated.
- LegacyShapeReader(SpatialContext, SpatialContextFactory) - Constructor for class org.locationtech.spatial4j.io.LegacyShapeReader
-
Deprecated.
- LegacyShapeWriter - Class in org.locationtech.spatial4j.io
-
Deprecated.
- LegacyShapeWriter(SpatialContext, SpatialContextFactory) - Constructor for class org.locationtech.spatial4j.io.LegacyShapeWriter
-
Deprecated.
- linePerp - Variable in class org.locationtech.spatial4j.shape.impl.BufferedLine
-
perpendicular to the primary line, centered between pA & pB
- linePrimary - Variable in class org.locationtech.spatial4j.shape.impl.BufferedLine
-
the primary line; passes through pA & pB
- lineString() - Method in class org.locationtech.spatial4j.shape.impl.ShapeFactoryImpl.GeneralShapeMultiShapeBuilder
- lineString() - Method in class org.locationtech.spatial4j.shape.impl.ShapeFactoryImpl
- lineString() - Method in class org.locationtech.spatial4j.shape.jts.JtsShapeFactory.JtsMultiLineStringBuilder
- lineString() - Method in class org.locationtech.spatial4j.shape.jts.JtsShapeFactory
- lineString() - Method in interface org.locationtech.spatial4j.shape.ShapeFactory
-
(Builder) Constructs a line string, with a possible buffer.
- lineString() - Method in interface org.locationtech.spatial4j.shape.ShapeFactory.MultiLineStringBuilder
- lineString(List<Point>, double) - Method in class org.locationtech.spatial4j.shape.impl.ShapeFactoryImpl
- lineString(List<Point>, double) - Method in class org.locationtech.spatial4j.shape.jts.JtsShapeFactory
- lineString(List<Point>, double) - Method in interface org.locationtech.spatial4j.shape.ShapeFactory
-
Deprecated.
- list - Static variable in class org.locationtech.spatial4j.SpatialPredicate
- lng - Variable in class org.locationtech.spatial4j.io.PolyshapeReader.XReader
- LongitudeRange(double, double) - Constructor for class org.locationtech.spatial4j.shape.impl.Range.LongitudeRange
-
Deprecated.
- LongitudeRange(Rectangle) - Constructor for class org.locationtech.spatial4j.shape.impl.Range.LongitudeRange
-
Deprecated.
- lookupDegreesSizeForHashLen(int) - Static method in class org.locationtech.spatial4j.io.GeohashUtils
- lookupHashLenForWidthHeight(double, double) - Static method in class org.locationtech.spatial4j.io.GeohashUtils
-
Return the shortest geohash length that will have a width & height >= specified arguments.
M
- makeBinaryCodec(SpatialContext) - Method in class org.locationtech.spatial4j.context.SpatialContextFactory
- makeBufferedLineString(List<Point>, double) - Method in class org.locationtech.spatial4j.context.SpatialContext
-
Deprecated.
- makeCircle(double, double, double) - Method in class org.locationtech.spatial4j.context.SpatialContext
-
Deprecated.
- makeCircle(Point, double) - Method in class org.locationtech.spatial4j.context.SpatialContext
-
Deprecated.
- makeClassInstance(Class<? extends T>, Object...) - Method in class org.locationtech.spatial4j.context.SpatialContextFactory
- makeCollection(List<S>) - Method in class org.locationtech.spatial4j.context.SpatialContext
-
Deprecated.
- makeFormats(SpatialContext) - Method in class org.locationtech.spatial4j.context.SpatialContextFactory
- makeLineString(List<Point>) - Method in class org.locationtech.spatial4j.context.SpatialContext
-
Deprecated.
- makeNumberFormat(int) - Static method in class org.locationtech.spatial4j.io.LegacyShapeWriter
-
Deprecated.A convenience method to create a suitable NumberFormat for writing numbers.
- makePoint(double, double) - Method in class org.locationtech.spatial4j.context.SpatialContext
-
Deprecated.
- makeRectangle(double, double, double, double) - Method in class org.locationtech.spatial4j.context.SpatialContext
-
Deprecated.
- makeRectangle(Point, Point) - Method in class org.locationtech.spatial4j.context.SpatialContext
-
Deprecated.
- makeRectFromRectangularPoly(Geometry) - Method in class org.locationtech.spatial4j.context.jts.JtsSpatialContext
-
Deprecated.
- makeRectFromRectangularPoly(Geometry) - Method in class org.locationtech.spatial4j.shape.jts.JtsShapeFactory
-
INTERNAL: Returns a Rectangle of the JTS
Envelope
(bounding box) of the givengeom
. - makeShape(Geometry) - Method in class org.locationtech.spatial4j.context.jts.JtsSpatialContext
-
Deprecated.
- makeShape(Geometry) - Method in class org.locationtech.spatial4j.shape.jts.JtsShapeFactory
-
INTERNAL: Creates a
Shape
from a JTSGeometry
. - makeShape(Geometry, boolean, boolean) - Method in class org.locationtech.spatial4j.context.jts.JtsSpatialContext
-
Deprecated.
- makeShape(Geometry, boolean, boolean) - Method in class org.locationtech.spatial4j.shape.jts.JtsShapeFactory
-
INTERNAL
- makeShapeFactory(SpatialContext) - Method in class org.locationtech.spatial4j.context.SpatialContextFactory
- makeShapeFromGeometry(Geometry) - Method in class org.locationtech.spatial4j.context.jts.JtsSpatialContext
-
Deprecated.
- makeShapeFromGeometry(Geometry) - Method in class org.locationtech.spatial4j.shape.jts.JtsShapeFactory
-
INTERNAL Usually creates a JtsGeometry, potentially validating, repairing, and indexing ("preparing").
- makeSpatialContext(Map<String, String>, ClassLoader) - Static method in class org.locationtech.spatial4j.context.SpatialContextFactory
-
Creates a new
SpatialContext
based on configuration inargs
. - max - Variable in class org.locationtech.spatial4j.shape.impl.Range
-
Deprecated.
- MAX_PRECISION - Static variable in class org.locationtech.spatial4j.io.GeohashUtils
- maxX - Variable in class org.locationtech.spatial4j.shape.impl.BBoxCalculator
- maxX - Variable in class org.locationtech.spatial4j.shape.impl.RectangleImpl
- maxY - Variable in class org.locationtech.spatial4j.shape.impl.BBoxCalculator
- maxY - Variable in class org.locationtech.spatial4j.shape.impl.RectangleImpl
- MILES_TO_KM - Static variable in class org.locationtech.spatial4j.distance.DistanceUtils
- min - Variable in class org.locationtech.spatial4j.shape.impl.Range
-
Deprecated.
- minX - Variable in class org.locationtech.spatial4j.shape.impl.BBoxCalculator
- minX - Variable in class org.locationtech.spatial4j.shape.impl.RectangleImpl
- minY - Variable in class org.locationtech.spatial4j.shape.impl.BBoxCalculator
- minY - Variable in class org.locationtech.spatial4j.shape.impl.RectangleImpl
- multiLineString() - Method in class org.locationtech.spatial4j.shape.impl.ShapeFactoryImpl
- multiLineString() - Method in class org.locationtech.spatial4j.shape.jts.JtsShapeFactory
- multiLineString() - Method in interface org.locationtech.spatial4j.shape.ShapeFactory
-
(Builder) Constructs a MultiLineString, or possibly the result of that buffered.
- multiPoint() - Method in class org.locationtech.spatial4j.shape.impl.ShapeFactoryImpl
- multiPoint() - Method in class org.locationtech.spatial4j.shape.jts.JtsShapeFactory
- multiPoint() - Method in interface org.locationtech.spatial4j.shape.ShapeFactory
-
(Builder) Constructs a MultiPoint.
- multiPolygon() - Method in class org.locationtech.spatial4j.shape.impl.ShapeFactoryImpl
- multiPolygon() - Method in class org.locationtech.spatial4j.shape.jts.JtsShapeFactory
- multiPolygon() - Method in interface org.locationtech.spatial4j.shape.ShapeFactory
-
(Builder) Constructs a MultiPolygon.
- multiShape(Class<T>) - Method in class org.locationtech.spatial4j.shape.impl.ShapeFactoryImpl
- multiShape(Class<T>) - Method in class org.locationtech.spatial4j.shape.jts.JtsShapeFactory
- multiShape(Class<T>) - Method in interface org.locationtech.spatial4j.shape.ShapeFactory
-
(Builder) Constructs a Shape aggregate in which each component/member is an instance of the specified class.
- multiShape(List<S>) - Method in class org.locationtech.spatial4j.shape.impl.ShapeFactoryImpl
- multiShape(List<S>) - Method in interface org.locationtech.spatial4j.shape.ShapeFactory
-
Deprecated.
N
- name - Variable in class org.locationtech.spatial4j.SpatialPredicate
- narrowCollectionIfPossible(GeometryCollection) - Method in class org.locationtech.spatial4j.shape.jts.JtsGeometry
-
Attempts to retype a geometry collection under the following circumstances, returning null if the collection can not be retyped.
- newSpatialContext() - Method in class org.locationtech.spatial4j.context.jts.JtsSpatialContextFactory
- newSpatialContext() - Method in class org.locationtech.spatial4j.context.SpatialContextFactory
-
Subclasses should simply construct the instance from the initialized configuration.
- newState(String) - Method in class org.locationtech.spatial4j.io.WKTReader
-
(internal) Creates a new State with the given String.
- nextDouble() - Method in class org.locationtech.spatial4j.io.WKTReader.State
-
Reads in a double from the String.
- nextExpect(char) - Method in class org.locationtech.spatial4j.io.WKTReader.State
-
Verifies that the current character is of the expected value.
- nextIf(char) - Method in class org.locationtech.spatial4j.io.WKTReader.State
-
If the current character is
expected
, then offset is advanced after it and any subsequent whitespace. - nextIfEmptyAndSkipZM() - Method in class org.locationtech.spatial4j.io.WKTReader.State
-
Skips over a dimensionality token (e.g.
- nextIfWhitespace() - Method in class org.locationtech.spatial4j.io.WKTReader.State
-
Moves offset to next non-whitespace character.
- nextSubShapeString() - Method in class org.locationtech.spatial4j.io.WKTReader.State
-
Returns the next chunk of text till the next ',' or ')' (non-inclusive) or EOF.
- nextWord() - Method in class org.locationtech.spatial4j.io.WKTReader.State
-
Reads the word starting at the current character position.
- none - org.locationtech.spatial4j.context.jts.DatelineRule
-
No polygon will cross the dateline.
- none - org.locationtech.spatial4j.context.jts.ValidationRule
-
Geometries will not be validated (because it's kinda expensive to calculate).
- normDist(double) - Method in class org.locationtech.spatial4j.shape.impl.ShapeFactoryImpl
- normDist(double) - Method in class org.locationtech.spatial4j.shape.jts.JtsShapeFactory
- normDist(double) - Method in interface org.locationtech.spatial4j.shape.ShapeFactory
-
Called to normalize a value that isn't X or Y or Z.
- normLatDEG(double) - Static method in class org.locationtech.spatial4j.distance.DistanceUtils
-
Puts in range -90 <= lat_deg <= 90.
- normLonDEG(double) - Static method in class org.locationtech.spatial4j.distance.DistanceUtils
-
Puts in range -180 <= lon_deg <= +180.
- normWrapLongitude - Variable in class org.locationtech.spatial4j.context.SpatialContextFactory
- normWrapLongitude - Variable in class org.locationtech.spatial4j.shape.impl.ShapeFactoryImpl
- normX(double) - Method in class org.locationtech.spatial4j.context.SpatialContext
-
Deprecated.
- normX(double) - Method in class org.locationtech.spatial4j.shape.impl.ShapeFactoryImpl
- normX(double) - Method in class org.locationtech.spatial4j.shape.jts.JtsShapeFactory
- normX(double) - Method in interface org.locationtech.spatial4j.shape.ShapeFactory
-
Normalize the 'x' dimension.
- normY(double) - Method in class org.locationtech.spatial4j.context.SpatialContext
-
Deprecated.
- normY(double) - Method in class org.locationtech.spatial4j.shape.impl.ShapeFactoryImpl
- normY(double) - Method in class org.locationtech.spatial4j.shape.jts.JtsShapeFactory
- normY(double) - Method in interface org.locationtech.spatial4j.shape.ShapeFactory
- normZ(double) - Method in class org.locationtech.spatial4j.shape.impl.ShapeFactoryImpl
- normZ(double) - Method in class org.locationtech.spatial4j.shape.jts.JtsShapeFactory
- normZ(double) - Method in interface org.locationtech.spatial4j.shape.ShapeFactory
-
(disclaimer: the Z dimension isn't fully supported)
- numCornersIntersect(Rectangle) - Method in class org.locationtech.spatial4j.shape.impl.GeoCircle
-
Returns either 0 for none, 1 for some, or 4 for all.
O
- offset - Variable in class org.locationtech.spatial4j.io.WKTReader.State
-
Offset of the next char in
WKTReader.State.rawString
to be read. - OnePointsBuilder - Class in org.locationtech.spatial4j.io
-
INTERNAL class used by some
ShapeReader
s. - OnePointsBuilder(ShapeFactory) - Constructor for class org.locationtech.spatial4j.io.OnePointsBuilder
- oppositeQuad - Static variable in class org.locationtech.spatial4j.shape.impl.InfBufLine
- org.locationtech.spatial4j - package org.locationtech.spatial4j
-
This is the base package for Spatial4j from which the rest of it is organized.
- org.locationtech.spatial4j.context - package org.locationtech.spatial4j.context
-
SpatialContext implementations are the facade to the Spatial4j API.
- org.locationtech.spatial4j.context.jts - package org.locationtech.spatial4j.context.jts
- org.locationtech.spatial4j.distance - package org.locationtech.spatial4j.distance
-
Ways to calculate distance.
- org.locationtech.spatial4j.exception - package org.locationtech.spatial4j.exception
- org.locationtech.spatial4j.io - package org.locationtech.spatial4j.io
-
Reading & writing shapes in various forms.
- org.locationtech.spatial4j.io.jackson - package org.locationtech.spatial4j.io.jackson
-
Optional support to read/write Shapes and Geometry using Jackson
- org.locationtech.spatial4j.io.jts - package org.locationtech.spatial4j.io.jts
- org.locationtech.spatial4j.shape - package org.locationtech.spatial4j.shape
-
Shapes are the core geometry objects that Spatial4j provides.
- org.locationtech.spatial4j.shape.impl - package org.locationtech.spatial4j.shape.impl
- org.locationtech.spatial4j.shape.jts - package org.locationtech.spatial4j.shape.jts
- Overlaps - Static variable in class org.locationtech.spatial4j.SpatialPredicate
-
Almost meets the "Overlaps" OGC definition, but boundary-neutral (boundary==interior).
P
- pA - Variable in class org.locationtech.spatial4j.shape.impl.BufferedLine
- PackageVersion - Class in org.locationtech.spatial4j.io.jackson
-
Automatically generated from PackageVersion.java.in during packageVersion-generate execution of maven-replacer-plugin in pom.xml.
- PackageVersion() - Constructor for class org.locationtech.spatial4j.io.jackson.PackageVersion
- parse(String) - Method in class org.locationtech.spatial4j.io.WKTReader
-
Parses the wktString, returning the defined Shape.
- parseBufferShape(WKTReader.State) - Method in class org.locationtech.spatial4j.io.WKTReader
-
Parses the BUFFER operation applied to a parsed shape.
- parseEnvelopeShape(WKTReader.State) - Method in class org.locationtech.spatial4j.io.WKTReader
-
Parses an ENVELOPE (aka Rectangle) shape from the raw string.
- parseGeometryCollectionShape(WKTReader.State) - Method in class org.locationtech.spatial4j.io.WKTReader
-
Parses a GEOMETRYCOLLECTION shape from the raw string.
- parseIfSupported(String) - Method in class org.locationtech.spatial4j.io.jts.JtsWKTReaderShapeParser
-
Deprecated.
- parseIfSupported(String) - Method in class org.locationtech.spatial4j.io.WKTReader
-
Parses the wktString, returning the defined Shape.
- parseIfSupported(String, WKTReader) - Method in class org.locationtech.spatial4j.io.jts.JtsWKTReaderShapeParser
-
Deprecated.Reads WKT from the
str
via JTS'sWKTReader
. - parseLatitudeLongitude(double[], String) - Static method in class org.locationtech.spatial4j.io.ParseUtils
-
Deprecated.A variation of
ParseUtils.parseLatitudeLongitude(String)
that re-uses an output array. - parseLatitudeLongitude(String) - Static method in class org.locationtech.spatial4j.io.ParseUtils
-
Deprecated.Extract (by calling
ParseUtils.parsePoint(String[], String, int)
and validate the latitude and longitude contained in the String by making sure the latitude is between 90 & -90 and longitude is between -180 and 180. - parseLineStringShape(WKTReader.State) - Method in class org.locationtech.spatial4j.io.WKTReader
-
Parses a LINESTRING shape from the raw string -- an ordered sequence of points.
- parseMulitPolygonShape(WKTReader.State) - Method in class org.locationtech.spatial4j.io.WKTReader
-
Parses a MULTIPOLYGON shape from the raw string.
- parseMultiLineStringShape(WKTReader.State) - Method in class org.locationtech.spatial4j.io.WKTReader
-
Parses a MULTILINESTRING shape from the raw string -- a collection of line strings.
- parseMultiPointShape(WKTReader.State) - Method in class org.locationtech.spatial4j.io.WKTReader
-
Parses a MULTIPOINT shape from the raw string -- a collection of points.
- parsePoint(String[], String, int) - Static method in class org.locationtech.spatial4j.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 org.locationtech.spatial4j.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(WKTReader.State) - Method in class org.locationtech.spatial4j.io.WKTReader
-
Parses a POINT shape from the raw string.
- parsePolygonShape(WKTReader.State) - Method in class org.locationtech.spatial4j.io.WKTReader
-
Parses a POLYGON shape from the raw string.
- parseShapeByType(WKTReader.State, String) - Method in class org.locationtech.spatial4j.io.WKTReader
-
(internal) Parses the remainder of a shape definition following the shape's name given as
shapeType
already consumed viaWKTReader.State.nextWord()
. - ParseUtils - Class in org.locationtech.spatial4j.io
-
Deprecated.Not useful; see https://github.com/spatial4j/spatial4j/issues/19
- ParseUtils() - Constructor for class org.locationtech.spatial4j.io.ParseUtils
-
Deprecated.
- pB - Variable in class org.locationtech.spatial4j.shape.impl.BufferedLine
- peek() - Method in class org.locationtech.spatial4j.io.PolyshapeReader.XReader
- point - Variable in class org.locationtech.spatial4j.io.OnePointsBuilder
- point - Variable in class org.locationtech.spatial4j.shape.impl.CircleImpl
- point(WKTReader.State, ShapeFactory.PointsBuilder) - Method in class org.locationtech.spatial4j.io.WKTReader
-
Reads a raw Point (AKA Coordinate) from the current position.
- Point - Interface in org.locationtech.spatial4j.shape
-
A Point with X & Y coordinates.
- pointGeom - Variable in class org.locationtech.spatial4j.shape.jts.JtsPoint
- PointImpl - Class in org.locationtech.spatial4j.shape.impl
-
A basic 2D implementation of a Point.
- PointImpl(double, double, SpatialContext) - Constructor for class org.locationtech.spatial4j.shape.impl.PointImpl
-
A simple constructor without normalization / validation.
- pointLatLon(double, double) - Method in class org.locationtech.spatial4j.io.OnePointsBuilder
- pointLatLon(double, double) - Method in class org.locationtech.spatial4j.shape.impl.ShapeFactoryImpl.GeneralShapeMultiShapeBuilder
- pointLatLon(double, double) - Method in interface org.locationtech.spatial4j.shape.ShapeFactory
-
Construct a point of latitude, longitude coordinates
- pointLatLon(double, double) - Method in interface org.locationtech.spatial4j.shape.ShapeFactory.PointsBuilder
- pointList(WKTReader.State, B) - Method in class org.locationtech.spatial4j.io.WKTReader
-
Reads a list of Points (AKA CoordinateSequence) from the current position.
- pointOnBearing(Point, double, double, SpatialContext, Point) - Method in class org.locationtech.spatial4j.distance.CartesianDistCalc
- pointOnBearing(Point, double, double, SpatialContext, Point) - Method in interface org.locationtech.spatial4j.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 org.locationtech.spatial4j.distance.GeodesicSphereDistCalc
- pointOnBearingRAD(double, double, double, double, SpatialContext, Point) - Static method in class org.locationtech.spatial4j.distance.DistanceUtils
-
Given a start point (startLat, startLon), distance, and a bearing on a sphere, return the destination point.
- pointXY(double, double) - Method in class org.locationtech.spatial4j.io.OnePointsBuilder
- pointXY(double, double) - Method in class org.locationtech.spatial4j.shape.impl.ShapeFactoryImpl.GeneralShapeMultiShapeBuilder
- pointXY(double, double) - Method in class org.locationtech.spatial4j.shape.impl.ShapeFactoryImpl
- pointXY(double, double) - Method in class org.locationtech.spatial4j.shape.jts.JtsShapeFactory.CoordinatesAccumulator
- pointXY(double, double) - Method in class org.locationtech.spatial4j.shape.jts.JtsShapeFactory
- pointXY(double, double) - Method in interface org.locationtech.spatial4j.shape.ShapeFactory.PointsBuilder
- pointXY(double, double) - Method in interface org.locationtech.spatial4j.shape.ShapeFactory
-
Construct a point.
- pointXYZ(double, double, double) - Method in class org.locationtech.spatial4j.io.OnePointsBuilder
- pointXYZ(double, double, double) - Method in class org.locationtech.spatial4j.shape.impl.ShapeFactoryImpl.GeneralShapeMultiShapeBuilder
- pointXYZ(double, double, double) - Method in class org.locationtech.spatial4j.shape.impl.ShapeFactoryImpl
- pointXYZ(double, double, double) - Method in class org.locationtech.spatial4j.shape.jts.JtsShapeFactory.CoordinatesAccumulator
- pointXYZ(double, double, double) - Method in class org.locationtech.spatial4j.shape.jts.JtsShapeFactory
- pointXYZ(double, double, double) - Method in interface org.locationtech.spatial4j.shape.ShapeFactory.PointsBuilder
- pointXYZ(double, double, double) - Method in interface org.locationtech.spatial4j.shape.ShapeFactory
-
Construct a point of 3 dimensions.
- POLY - Static variable in interface org.locationtech.spatial4j.io.ShapeIO
- polygon() - Method in class org.locationtech.spatial4j.shape.impl.ShapeFactoryImpl.GeneralShapeMultiShapeBuilder
- polygon() - Method in class org.locationtech.spatial4j.shape.impl.ShapeFactoryImpl
- polygon() - Method in class org.locationtech.spatial4j.shape.jts.JtsShapeFactory.JtsMultiPolygonBuilder
- polygon() - Method in class org.locationtech.spatial4j.shape.jts.JtsShapeFactory
- polygon() - Method in interface org.locationtech.spatial4j.shape.ShapeFactory.MultiPolygonBuilder
- polygon() - Method in interface org.locationtech.spatial4j.shape.ShapeFactory
-
(Builder) Constructs a polygon.
- polygon(WKTReader.State, ShapeFactory.PolygonBuilder) - Method in class org.locationtech.spatial4j.io.WKTReader
-
Reads a polygon
- PolyshapeReader - Class in org.locationtech.spatial4j.io
- PolyshapeReader(SpatialContext, SpatialContextFactory) - Constructor for class org.locationtech.spatial4j.io.PolyshapeReader
- PolyshapeReader.XReader - Class in org.locationtech.spatial4j.io
-
from Apache 2.0 licensed: https://github.com/googlemaps/android-maps-utils/blob/master/library/src/com/google/maps/android/PolyUtil.java
- PolyshapeWriter - Class in org.locationtech.spatial4j.io
-
Wrap the 'Encoded Polyline Algorithm Format' defined in: Google Maps API with flags to encode various Shapes: Point, Line, Polygon, etc For more details, see FORMATS.md This format works well for geographic shapes (-180...+180 / -90...+90), but is not appropriate for other coordinate systems
- PolyshapeWriter(SpatialContext, SpatialContextFactory) - Constructor for class org.locationtech.spatial4j.io.PolyshapeWriter
- PolyshapeWriter.Encoder - Class in org.locationtech.spatial4j.io
-
Encodes a sequence of LatLngs into an encoded path string.
- precisionModel - Variable in class org.locationtech.spatial4j.context.jts.JtsSpatialContextFactory
- preparedGeometry - Variable in class org.locationtech.spatial4j.shape.jts.JtsGeometry
- processRanges() - Method in class org.locationtech.spatial4j.shape.impl.BBoxCalculator
Q
- quadrant(Point) - Method in class org.locationtech.spatial4j.shape.impl.InfBufLine
-
INTERNAL: AKA lineToPointQuadrant
R
- RADIANS_TO_DEGREES - Static variable in class org.locationtech.spatial4j.distance.DistanceUtils
- radians2Dist(double, double) - Static method in class org.locationtech.spatial4j.distance.DistanceUtils
-
Converts
radians
(multiples of theradius
) to distance in the units of the radius (e.g. - radiusDEG - Static variable in class org.locationtech.spatial4j.distance.GeodesicSphereDistCalc
- radiusDEG - Variable in class org.locationtech.spatial4j.shape.impl.CircleImpl
- Range - Class in org.locationtech.spatial4j.shape.impl
-
Deprecated.
- Range(double, double) - Constructor for class org.locationtech.spatial4j.shape.impl.Range
-
Deprecated.
- Range.LongitudeRange - Class in org.locationtech.spatial4j.shape.impl
-
Deprecated.
- rangeContains(double, double, double) - Static method in class org.locationtech.spatial4j.shape.impl.BBoxCalculator
- ranges - Variable in class org.locationtech.spatial4j.shape.impl.BBoxCalculator
-
Sorted list of disjoint X ranges keyed by maxX and with minX stored as the "value".
- rawString - Variable in class org.locationtech.spatial4j.io.WKTReader.State
- read(JsonParser, ShapeFactory) - Method in class org.locationtech.spatial4j.io.jackson.ShapeDeserializer
- read(ObjectNode, ShapeFactory) - Method in class org.locationtech.spatial4j.io.jackson.ShapeDeserializer
- read(Reader) - Method in class org.locationtech.spatial4j.io.GeoJSONReader
- read(Reader) - Method in class org.locationtech.spatial4j.io.LegacyShapeReader
-
Deprecated.
- read(Reader) - Method in class org.locationtech.spatial4j.io.PolyshapeReader
- read(Reader) - Method in interface org.locationtech.spatial4j.io.ShapeReader
-
Read a
Shape
from the reader. - read(Reader) - Method in class org.locationtech.spatial4j.io.WKTReader
- read(Object) - Method in class org.locationtech.spatial4j.io.GeoJSONReader
- read(Object) - Method in class org.locationtech.spatial4j.io.LegacyShapeReader
-
Deprecated.
- read(Object) - Method in class org.locationtech.spatial4j.io.PolyshapeReader
- read(Object) - Method in interface org.locationtech.spatial4j.io.ShapeReader
- read(Object) - Method in class org.locationtech.spatial4j.io.WKTReader
- read(String) - Method in class org.locationtech.spatial4j.io.SupportedFormats
- readCircle(DataInput) - Method in class org.locationtech.spatial4j.io.BinaryCodec
- readCircle(JSONParser) - Method in class org.locationtech.spatial4j.io.GeoJSONReader
- readCollection(DataInput) - Method in class org.locationtech.spatial4j.io.BinaryCodec
- readCoordListXYZ(JSONParser, ShapeFactory.PointsBuilder) - Method in class org.locationtech.spatial4j.io.GeoJSONReader
- readCoordXYZ(JSONParser, ShapeFactory.PointsBuilder) - Method in class org.locationtech.spatial4j.io.GeoJSONReader
- readDim(DataInput) - Method in class org.locationtech.spatial4j.io.BinaryCodec
- readDim(DataInput) - Method in class org.locationtech.spatial4j.io.jts.JtsBinaryCodec
- readDistance(String, String, JSONParser) - Method in class org.locationtech.spatial4j.io.GeoJSONReader
-
Helper method to read a up until a distance value (radius, buffer) and it's corresponding unit are found.
- readDouble() - Method in class org.locationtech.spatial4j.io.PolyshapeReader.XReader
- readers - Variable in class org.locationtech.spatial4j.context.SpatialContextFactory
- readers - Variable in class org.locationtech.spatial4j.io.SupportedFormats
- readIfSupported(Object) - Method in class org.locationtech.spatial4j.io.GeoJSONReader
- readIfSupported(Object) - Method in class org.locationtech.spatial4j.io.LegacyShapeReader
-
Deprecated.
- readIfSupported(Object) - Method in class org.locationtech.spatial4j.io.PolyshapeReader
- readIfSupported(Object) - Method in interface org.locationtech.spatial4j.io.ShapeReader
- readIfSupported(Object) - Method in class org.locationtech.spatial4j.io.WKTReader
- readInt() - Method in class org.locationtech.spatial4j.io.PolyshapeReader.XReader
- readJtsGeom(DataInput) - Method in class org.locationtech.spatial4j.io.jts.JtsBinaryCodec
- readKey() - Method in class org.locationtech.spatial4j.io.PolyshapeReader.XReader
- readLat() - Method in class org.locationtech.spatial4j.io.PolyshapeReader.XReader
- readLatCommaLonPoint(String, SpatialContext) - Static method in class org.locationtech.spatial4j.io.LegacyShapeReader
-
Deprecated.Reads geospatial latitude then a comma then longitude.
- readLineString(JSONParser) - Method in class org.locationtech.spatial4j.io.GeoJSONReader
- readLng() - Method in class org.locationtech.spatial4j.io.PolyshapeReader.XReader
- readMultiLineString(JSONParser) - Method in class org.locationtech.spatial4j.io.GeoJSONReader
- readMultiPoint(JSONParser) - Method in class org.locationtech.spatial4j.io.GeoJSONReader
- readMultiPolygon(JSONParser) - Method in class org.locationtech.spatial4j.io.GeoJSONReader
- readPoint(ArrayNode, ShapeFactory) - Method in class org.locationtech.spatial4j.io.jackson.ShapeDeserializer
- readPoint(DataInput) - Method in class org.locationtech.spatial4j.io.BinaryCodec
- readPoint(JSONParser) - Method in class org.locationtech.spatial4j.io.GeoJSONReader
- readPoints(T) - Method in class org.locationtech.spatial4j.io.PolyshapeReader.XReader
- readPolygon(PolyshapeReader.XReader) - Method in class org.locationtech.spatial4j.io.PolyshapeReader
- readPolygon(JSONParser, ShapeFactory.PolygonBuilder) - Method in class org.locationtech.spatial4j.io.GeoJSONReader
- readRect(DataInput) - Method in class org.locationtech.spatial4j.io.BinaryCodec
- readShape(DataInput) - Method in class org.locationtech.spatial4j.io.BinaryCodec
- readShape(String) - Method in class org.locationtech.spatial4j.context.SpatialContext
-
Deprecated.
- readShape(JSONParser) - Method in class org.locationtech.spatial4j.io.GeoJSONReader
- readShapeByTypeIfSupported(DataInput, byte) - Method in class org.locationtech.spatial4j.io.BinaryCodec
- readShapeByTypeIfSupported(DataInput, byte) - Method in class org.locationtech.spatial4j.io.jts.JtsBinaryCodec
- readShapeFromCoordinates(String, JSONParser) - Method in class org.locationtech.spatial4j.io.GeoJSONReader
- readShapeFromWkt(String) - Method in class org.locationtech.spatial4j.context.SpatialContext
-
Deprecated.
- readShapeOrNull(String, SpatialContext) - Static method in class org.locationtech.spatial4j.io.LegacyShapeReader
-
Deprecated.Reads the shape specification as defined in the class javadocs.
- readString(Reader) - Static method in class org.locationtech.spatial4j.io.WKTReader
- readUntilEvent(JSONParser, int) - Method in class org.locationtech.spatial4j.io.GeoJSONReader
- rect(double, double, double, double) - Method in class org.locationtech.spatial4j.shape.impl.ShapeFactoryImpl
- rect(double, double, double, double) - Method in interface org.locationtech.spatial4j.shape.ShapeFactory
-
Construct a rectangle.
- rect(Point, Point) - Method in class org.locationtech.spatial4j.shape.impl.ShapeFactoryImpl
- rect(Point, Point) - Method in interface org.locationtech.spatial4j.shape.ShapeFactory
-
Construct a rectangle.
- Rectangle - Interface in org.locationtech.spatial4j.shape
-
A rectangle aligned with the axis (i.e.
- RectangleImpl - Class in org.locationtech.spatial4j.shape.impl
-
A simple Rectangle implementation that also supports a longitudinal wrap-around.
- RectangleImpl(double, double, double, double, SpatialContext) - Constructor for class org.locationtech.spatial4j.shape.impl.RectangleImpl
-
A simple constructor without normalization / validation.
- RectangleImpl(Point, Point, SpatialContext) - Constructor for class org.locationtech.spatial4j.shape.impl.RectangleImpl
-
A convenience constructor which pulls out the coordinates.
- RectangleImpl(Rectangle, SpatialContext) - Constructor for class org.locationtech.spatial4j.shape.impl.RectangleImpl
-
Copy constructor.
- register(String) - Method in class org.locationtech.spatial4j.SpatialPredicate
- registry - Static variable in class org.locationtech.spatial4j.SpatialPredicate
- relate(Geometry) - Method in class org.locationtech.spatial4j.shape.jts.JtsGeometry
- relate(Circle) - Method in class org.locationtech.spatial4j.shape.impl.CircleImpl
- relate(Circle) - Method in class org.locationtech.spatial4j.shape.jts.JtsGeometry
- relate(JtsGeometry) - Method in class org.locationtech.spatial4j.shape.jts.JtsGeometry
- relate(Point) - Method in class org.locationtech.spatial4j.shape.impl.CircleImpl
- relate(Point) - Method in class org.locationtech.spatial4j.shape.impl.RectangleImpl
- relate(Point) - Method in class org.locationtech.spatial4j.shape.jts.JtsGeometry
- relate(Rectangle) - Method in class org.locationtech.spatial4j.shape.impl.BufferedLine
- relate(Rectangle) - Method in class org.locationtech.spatial4j.shape.impl.CircleImpl
- relate(Rectangle) - Method in class org.locationtech.spatial4j.shape.impl.RectangleImpl
- relate(Rectangle) - Method in class org.locationtech.spatial4j.shape.jts.JtsGeometry
- relate(Rectangle, Point, Point) - Method in class org.locationtech.spatial4j.shape.impl.InfBufLine
- relate(Shape) - Method in class org.locationtech.spatial4j.shape.impl.BufferedLine
- relate(Shape) - Method in class org.locationtech.spatial4j.shape.impl.BufferedLineString
- relate(Shape) - Method in class org.locationtech.spatial4j.shape.impl.CircleImpl
- relate(Shape) - Method in class org.locationtech.spatial4j.shape.impl.PointImpl
- relate(Shape) - Method in class org.locationtech.spatial4j.shape.impl.RectangleImpl
- relate(Shape) - Method in class org.locationtech.spatial4j.shape.jts.JtsGeometry
- relate(Shape) - Method in class org.locationtech.spatial4j.shape.jts.JtsPoint
- relate(Shape) - Method in interface org.locationtech.spatial4j.shape.Shape
-
Describe the relationship between the two objects.
- relate(Shape) - Method in class org.locationtech.spatial4j.shape.ShapeCollection
- relate_range(double, double, double, double) - Static method in class org.locationtech.spatial4j.shape.impl.RectangleImpl
- relateContainsShortCircuits() - Method in class org.locationtech.spatial4j.shape.ShapeCollection
-
Called by relate() to determine whether to return early if it finds CONTAINS, instead of checking the remaining shapes.
- relateRectangleCircleWrapsPole(Rectangle, SpatialContext) - Method in class org.locationtech.spatial4j.shape.impl.GeoCircle
- relateRectanglePhase2(Rectangle, SpatialRelation) - Method in class org.locationtech.spatial4j.shape.impl.CircleImpl
- relateRectanglePhase2(Rectangle, SpatialRelation) - Method in class org.locationtech.spatial4j.shape.impl.GeoCircle
-
Called after bounding box is intersected.
- relateXRange(double, double) - Method in class org.locationtech.spatial4j.shape.impl.RectangleImpl
- relateXRange(double, double) - Method in interface org.locationtech.spatial4j.shape.Rectangle
-
A specialization of
Shape.relate(Shape)
for a horizontal line. - relateYRange(double, double) - Method in class org.locationtech.spatial4j.shape.impl.RectangleImpl
- relateYRange(double, double) - Method in interface org.locationtech.spatial4j.shape.Rectangle
-
A specialization of
Shape.relate(Shape)
for a vertical line. - repairBuffer0 - org.locationtech.spatial4j.context.jts.ValidationRule
-
Invalid polygons are repaired using the
buffer(0)
technique. - repairConvexHull - org.locationtech.spatial4j.context.jts.ValidationRule
-
Invalid Geometries are repaired by taking the convex hull.
- reset(double, double) - Method in class org.locationtech.spatial4j.shape.impl.PointImpl
- reset(double, double) - Method in class org.locationtech.spatial4j.shape.jts.JtsPoint
- reset(double, double) - Method in interface org.locationtech.spatial4j.shape.Point
-
Expert: Resets the state of this shape given the arguments.
- reset(double, double, double) - Method in interface org.locationtech.spatial4j.shape.Circle
-
Expert: Resets the state of this shape given the arguments.
- reset(double, double, double) - Method in class org.locationtech.spatial4j.shape.impl.CircleImpl
- reset(double, double, double) - Method in class org.locationtech.spatial4j.shape.impl.GeoCircle
- reset(double, double, double, double) - Method in class org.locationtech.spatial4j.shape.impl.RectangleImpl
- reset(double, double, double, double) - Method in interface org.locationtech.spatial4j.shape.Rectangle
-
Expert: Resets the state of this shape given the arguments.
- round(double) - Static method in class org.locationtech.spatial4j.io.jackson.ShapeAsGeoJSONSerializer
S
- segments - Variable in class org.locationtech.spatial4j.shape.impl.BufferedLineString
- seperator() - Method in class org.locationtech.spatial4j.io.PolyshapeWriter.Encoder
- serialize(Geometry, JsonGenerator, SerializerProvider) - Method in class org.locationtech.spatial4j.io.jackson.GeometryAsGeoJSONSerializer
- serialize(Geometry, JsonGenerator, SerializerProvider) - Method in class org.locationtech.spatial4j.io.jackson.GeometryAsWKTSerializer
- serialize(Shape, JsonGenerator, SerializerProvider) - Method in class org.locationtech.spatial4j.io.jackson.ShapeAsGeoJSONSerializer
- serialize(Shape, JsonGenerator, SerializerProvider) - Method in class org.locationtech.spatial4j.io.jackson.ShapeAsWKTSerializer
- serialVersionUID - Static variable in class org.locationtech.spatial4j.io.jackson.ShapesAsGeoJSONModule
- serialVersionUID - Static variable in class org.locationtech.spatial4j.io.jackson.ShapesAsWKTModule
- shape(WKTReader.State) - Method in class org.locationtech.spatial4j.io.WKTReader
-
Reads a shape from the current position, starting with the name of the shape.
- Shape - Interface in org.locationtech.spatial4j.shape
-
The base interface defining a geometric shape.
- ShapeAsGeoJSONSerializer - Class in org.locationtech.spatial4j.io.jackson
- ShapeAsGeoJSONSerializer() - Constructor for class org.locationtech.spatial4j.io.jackson.ShapeAsGeoJSONSerializer
- ShapeAsWKTSerializer - Class in org.locationtech.spatial4j.io.jackson
- ShapeAsWKTSerializer() - Constructor for class org.locationtech.spatial4j.io.jackson.ShapeAsWKTSerializer
- ShapeCollection<S extends Shape> - Class in org.locationtech.spatial4j.shape
-
A collection of Shape objects, analogous to an OGC GeometryCollection.
- ShapeCollection(List<S>, SpatialContext) - Constructor for class org.locationtech.spatial4j.shape.ShapeCollection
-
WARNING:
shapes
is copied by reference. - ShapeDeserializer - Class in org.locationtech.spatial4j.io.jackson
- ShapeDeserializer() - Constructor for class org.locationtech.spatial4j.io.jackson.ShapeDeserializer
- ShapeDeserializer(SpatialContext) - Constructor for class org.locationtech.spatial4j.io.jackson.ShapeDeserializer
- shapeFactory - Variable in class org.locationtech.spatial4j.context.SpatialContext
- shapeFactory - Variable in class org.locationtech.spatial4j.io.GeoJSONReader
- shapeFactory - Variable in class org.locationtech.spatial4j.io.OnePointsBuilder
- shapeFactory - Variable in class org.locationtech.spatial4j.io.WKTReader
- ShapeFactory - Interface in org.locationtech.spatial4j.shape
-
A factory for
Shape
s. - ShapeFactory.LineStringBuilder - Interface in org.locationtech.spatial4j.shape
- ShapeFactory.MultiLineStringBuilder - Interface in org.locationtech.spatial4j.shape
- ShapeFactory.MultiPointBuilder - Interface in org.locationtech.spatial4j.shape
- ShapeFactory.MultiPolygonBuilder - Interface in org.locationtech.spatial4j.shape
- ShapeFactory.MultiShapeBuilder<T extends Shape> - Interface in org.locationtech.spatial4j.shape
- ShapeFactory.PointsBuilder<T> - Interface in org.locationtech.spatial4j.shape
-
Builds a point and returns the generic specified type (usually whatever "this" is).
- ShapeFactory.PolygonBuilder - Interface in org.locationtech.spatial4j.shape
- ShapeFactory.PolygonBuilder.HoleBuilder - Interface in org.locationtech.spatial4j.shape
- shapeFactoryClass - Variable in class org.locationtech.spatial4j.context.SpatialContextFactory
- ShapeFactoryImpl - Class in org.locationtech.spatial4j.shape.impl
-
The default
ShapeFactory
. - ShapeFactoryImpl(SpatialContext, SpatialContextFactory) - Constructor for class org.locationtech.spatial4j.shape.impl.ShapeFactoryImpl
- ShapeFactoryImpl.GeneralShapeMultiShapeBuilder<T extends Shape> - Class in org.locationtech.spatial4j.shape.impl
- ShapeIO - Interface in org.locationtech.spatial4j.io
- ShapeReader - Interface in org.locationtech.spatial4j.io
-
Implementations are expected to be thread safe
- shapes - Variable in class org.locationtech.spatial4j.shape.impl.ShapeFactoryImpl.GeneralShapeMultiShapeBuilder
- shapes - Variable in class org.locationtech.spatial4j.shape.ShapeCollection
- ShapesAsGeoJSONModule - Class in org.locationtech.spatial4j.io.jackson
- ShapesAsGeoJSONModule() - Constructor for class org.locationtech.spatial4j.io.jackson.ShapesAsGeoJSONModule
- ShapesAsWKTModule - Class in org.locationtech.spatial4j.io.jackson
- ShapesAsWKTModule() - Constructor for class org.locationtech.spatial4j.io.jackson.ShapesAsWKTModule
- ShapeWriter - Interface in org.locationtech.spatial4j.io
-
Implementations are expected to be thread safe
- shiftGeomByX(Geometry, int) - Static method in class org.locationtech.spatial4j.shape.jts.JtsGeometry
- shpFactory - Variable in class org.locationtech.spatial4j.io.PolyshapeReader
- shpFactory - Variable in class org.locationtech.spatial4j.io.PolyshapeReader.XReader
- SIN_45_AS_RADS - Static variable in class org.locationtech.spatial4j.distance.DistanceUtils
-
Deprecated.
- size() - Method in class org.locationtech.spatial4j.shape.ShapeCollection
- skipDouble() - Method in class org.locationtech.spatial4j.io.WKTReader.State
-
Advances offset forward until it points to a character that isn't part of a number.
- skipNextDoubles() - Method in class org.locationtech.spatial4j.io.WKTReader.State
-
Advances past as many doubles as there are, with intervening whitespace.
- slope - Variable in class org.locationtech.spatial4j.shape.impl.InfBufLine
- SpatialContext - Class in org.locationtech.spatial4j.context
-
This is a facade to most of Spatial4j, holding things like
DistanceCalculator
,ShapeFactory
,ShapeIO
. - SpatialContext(boolean) - Constructor for class org.locationtech.spatial4j.context.SpatialContext
-
Deprecated.
- SpatialContext(boolean, DistanceCalculator, Rectangle) - Constructor for class org.locationtech.spatial4j.context.SpatialContext
-
Deprecated.
- SpatialContext(SpatialContextFactory) - Constructor for class org.locationtech.spatial4j.context.SpatialContext
-
Called by
newSpatialContext()
. - SpatialContextFactory - Class in org.locationtech.spatial4j.context
-
Factory for a
SpatialContext
based on configuration data. - SpatialContextFactory() - Constructor for class org.locationtech.spatial4j.context.SpatialContextFactory
- SpatialPredicate - Class in org.locationtech.spatial4j
-
A predicate that compares a stored geometry to a supplied geometry.
- SpatialPredicate(String) - Constructor for class org.locationtech.spatial4j.SpatialPredicate
- SpatialRelation - Enum in org.locationtech.spatial4j.shape
-
The set of spatial relationships.
- SpatialRelation() - Constructor for enum org.locationtech.spatial4j.shape.SpatialRelation
- squared - Variable in class org.locationtech.spatial4j.distance.CartesianDistCalc
- srid - Variable in class org.locationtech.spatial4j.context.jts.JtsSpatialContextFactory
- startRing() - Method in class org.locationtech.spatial4j.io.PolyshapeWriter.Encoder
- State(String) - Constructor for class org.locationtech.spatial4j.io.WKTReader.State
- SupportedFormats - Class in org.locationtech.spatial4j.io
-
Information about the formats a
SpatialContext
can read/write - SupportedFormats(List<ShapeReader>, List<ShapeWriter>) - Constructor for class org.locationtech.spatial4j.io.SupportedFormats
- SYSPROP_ASSERT_VALIDATE - Static variable in class org.locationtech.spatial4j.shape.jts.JtsGeometry
-
System property boolean that can disable auto validation in an assert.
T
- toDegrees(double) - Static method in class org.locationtech.spatial4j.distance.DistanceUtils
-
Same as
Math.toDegrees(double)
but 3x faster (multiply vs. - toRadians(double) - Static method in class org.locationtech.spatial4j.distance.DistanceUtils
-
Same as
Math.toRadians(double)
but 3x faster (multiply vs. - toString() - Method in class org.locationtech.spatial4j.context.jts.JtsSpatialContext
- toString() - Method in class org.locationtech.spatial4j.context.SpatialContext
- toString() - Method in class org.locationtech.spatial4j.distance.AbstractDistanceCalculator
- toString() - Method in class org.locationtech.spatial4j.shape.impl.BufferedLine
- toString() - Method in class org.locationtech.spatial4j.shape.impl.BufferedLineString
- toString() - Method in class org.locationtech.spatial4j.shape.impl.CircleImpl
- toString() - Method in class org.locationtech.spatial4j.shape.impl.GeoCircle
- toString() - Method in class org.locationtech.spatial4j.shape.impl.InfBufLine
- toString() - Method in class org.locationtech.spatial4j.shape.impl.PointImpl
- toString() - Method in class org.locationtech.spatial4j.shape.impl.Range
-
Deprecated.
- toString() - Method in class org.locationtech.spatial4j.shape.impl.RectangleImpl
- toString() - Method in class org.locationtech.spatial4j.shape.jts.JtsGeometry
- toString() - Method in class org.locationtech.spatial4j.shape.jts.JtsPoint
- toString() - Method in class org.locationtech.spatial4j.shape.ShapeCollection
- toString() - Method in class org.locationtech.spatial4j.SpatialPredicate
- toString(Shape) - Method in class org.locationtech.spatial4j.context.SpatialContext
-
Deprecated.
- toString(Shape) - Method in class org.locationtech.spatial4j.io.GeoJSONWriter
- toString(Shape) - Method in class org.locationtech.spatial4j.io.jts.JtsWKTWriter
- toString(Shape) - Method in class org.locationtech.spatial4j.io.LegacyShapeWriter
-
Deprecated.
- toString(Shape) - Method in class org.locationtech.spatial4j.io.PolyshapeWriter
- toString(Shape) - Method in interface org.locationtech.spatial4j.io.ShapeWriter
-
Write a shape to String
- toString(Shape) - Method in class org.locationtech.spatial4j.io.WKTWriter
- transpose() - Method in enum org.locationtech.spatial4j.shape.SpatialRelation
-
Given the result of
shapeA.relate(shapeB)
, transposing that result should yield the result ofshapeB.relate(shapeA)
. - TYPE_CIRCLE - Static variable in class org.locationtech.spatial4j.io.BinaryCodec
- TYPE_COLL - Static variable in class org.locationtech.spatial4j.io.BinaryCodec
- TYPE_GEOM - Static variable in class org.locationtech.spatial4j.io.BinaryCodec
- TYPE_POINT - Static variable in class org.locationtech.spatial4j.io.BinaryCodec
- TYPE_RECT - Static variable in class org.locationtech.spatial4j.io.BinaryCodec
- typeForShape(Shape) - Method in class org.locationtech.spatial4j.io.BinaryCodec
- typeForShape(Shape) - Method in class org.locationtech.spatial4j.io.jts.JtsBinaryCodec
U
- unionGeometryCollection(Geometry) - Static method in class org.locationtech.spatial4j.shape.jts.JtsGeometry
- UnsupportedSpatialPredicate - Exception in org.locationtech.spatial4j.exception
-
Exception thrown when something cannot implement the
SpatialPredicate
. - UnsupportedSpatialPredicate(SpatialPredicate) - Constructor for exception org.locationtech.spatial4j.exception.UnsupportedSpatialPredicate
- unwrapDateline(Geometry) - Static method in class org.locationtech.spatial4j.shape.jts.JtsGeometry
-
If
geom
spans the dateline (aka anti-meridian), then this modifies it to be a valid JTS geometry that extends to the right of the standard -180 to +180 width such that some points are greater than +180 but some remain less. - unwrapDateline(LineString) - Static method in class org.locationtech.spatial4j.shape.jts.JtsGeometry
- unwrapDateline(Polygon) - Static method in class org.locationtech.spatial4j.shape.jts.JtsGeometry
- useFloat - Variable in class org.locationtech.spatial4j.io.jts.JtsBinaryCodec
- useJtsLineString - Variable in class org.locationtech.spatial4j.context.jts.JtsSpatialContextFactory
- useJtsLineString - Variable in class org.locationtech.spatial4j.shape.jts.JtsShapeFactory
- useJtsLineString() - Method in class org.locationtech.spatial4j.context.jts.JtsSpatialContext
-
Deprecated.
- useJtsLineString() - Method in class org.locationtech.spatial4j.shape.jts.JtsShapeFactory
-
Should
JtsShapeFactory.lineString(java.util.List,double)
returnJtsGeometry
? - useJtsMulti - Variable in class org.locationtech.spatial4j.context.jts.JtsSpatialContextFactory
- useJtsMulti - Variable in class org.locationtech.spatial4j.shape.jts.JtsShapeFactory
- useJtsMulti() - Method in class org.locationtech.spatial4j.shape.jts.JtsShapeFactory
-
Whether
JtsShapeFactory.multiPoint()
,JtsShapeFactory.multiLineString()
, andJtsShapeFactory.multiPolygon()
should all use JTS's subclasses ofGeometryCollection
instead of Spatial4j's basic impl. - useJtsPoint - Variable in class org.locationtech.spatial4j.context.jts.JtsSpatialContextFactory
- useJtsPoint - Variable in class org.locationtech.spatial4j.shape.jts.JtsShapeFactory
- useJtsPoint() - Method in class org.locationtech.spatial4j.context.jts.JtsSpatialContext
-
Deprecated.
- useJtsPoint() - Method in class org.locationtech.spatial4j.shape.jts.JtsShapeFactory
-
Should
JtsShapeFactory.pointXY(double, double)
returnJtsPoint
?
V
- validate() - Method in class org.locationtech.spatial4j.shape.jts.JtsGeometry
-
Validates the shape, throwing a descriptive error if it isn't valid.
- validated - Variable in class org.locationtech.spatial4j.shape.jts.JtsGeometry
- validationRule - Variable in class org.locationtech.spatial4j.context.jts.JtsSpatialContextFactory
- validationRule - Variable in class org.locationtech.spatial4j.shape.jts.JtsShapeFactory
- ValidationRule - Enum in org.locationtech.spatial4j.context.jts
-
Indicates how JTS geometries (notably polygons but applies to other geometries too) are validated (if at all) and repaired (if at all).
- ValidationRule() - Constructor for enum org.locationtech.spatial4j.context.jts.ValidationRule
- valueOf(String) - Static method in enum org.locationtech.spatial4j.context.jts.DatelineRule
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.locationtech.spatial4j.context.jts.ValidationRule
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.locationtech.spatial4j.shape.SpatialRelation
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum org.locationtech.spatial4j.context.jts.DatelineRule
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.locationtech.spatial4j.context.jts.ValidationRule
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.locationtech.spatial4j.shape.SpatialRelation
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in class org.locationtech.spatial4j.SpatialPredicate
- vectorBoxCorner(double[], double[], double, boolean) - Static method in class org.locationtech.spatial4j.distance.DistanceUtils
-
Deprecated.
- vectorDistance(double[], double[], double) - Static method in class org.locationtech.spatial4j.distance.DistanceUtils
-
Deprecated.
- vectorDistance(double[], double[], double, double) - Static method in class org.locationtech.spatial4j.distance.DistanceUtils
-
Deprecated.
- verifyX(double) - Method in class org.locationtech.spatial4j.context.SpatialContext
-
Deprecated.
- verifyX(double) - Method in class org.locationtech.spatial4j.shape.impl.ShapeFactoryImpl
- verifyX(double) - Method in interface org.locationtech.spatial4j.shape.ShapeFactory
-
Ensure fits in the world bounds.
- verifyY(double) - Method in class org.locationtech.spatial4j.context.SpatialContext
-
Deprecated.
- verifyY(double) - Method in class org.locationtech.spatial4j.shape.impl.ShapeFactoryImpl
- verifyY(double) - Method in interface org.locationtech.spatial4j.shape.ShapeFactory
- verifyZ(double) - Method in class org.locationtech.spatial4j.shape.impl.ShapeFactoryImpl
- verifyZ(double) - Method in interface org.locationtech.spatial4j.shape.ShapeFactory
-
(disclaimer: the Z dimension isn't fully supported)
- version() - Method in class org.locationtech.spatial4j.io.jackson.PackageVersion
- VERSION - Static variable in class org.locationtech.spatial4j.io.jackson.PackageVersion
- verticalAtDateline(RectangleImpl, Rectangle) - Static method in class org.locationtech.spatial4j.shape.impl.RectangleImpl
- Vincenty() - Constructor for class org.locationtech.spatial4j.distance.GeodesicSphereDistCalc.Vincenty
W
- width180 - org.locationtech.spatial4j.context.jts.DatelineRule
-
Adjacent points with an x (longitude) difference that spans more than half way around the globe will be interpreted as going the other (shorter) way, and thus cross the dateline.
- within(Point, double, double, double) - Method in class org.locationtech.spatial4j.distance.AbstractDistanceCalculator
- within(Point, double, double, double) - Method in class org.locationtech.spatial4j.distance.CartesianDistCalc
- within(Point, double, double, double) - Method in interface org.locationtech.spatial4j.distance.DistanceCalculator
-
Returns true if the distance between from and to is <= distance.
- WITHIN - org.locationtech.spatial4j.shape.SpatialRelation
-
The shape is within the target geometry.
- WKT - Static variable in interface org.locationtech.spatial4j.io.ShapeIO
- wktReader - Variable in class org.locationtech.spatial4j.io.SupportedFormats
- WKTReader - Class in org.locationtech.spatial4j.io
-
An extensible parser for Well Known Text (WKT).
- WKTReader(SpatialContext, SpatialContextFactory) - Constructor for class org.locationtech.spatial4j.io.WKTReader
-
This constructor is required by
makeFormats(SpatialContext)
. - WKTReader.State - Class in org.locationtech.spatial4j.io
-
The parse state.
- WktShapeParser - Class in org.locationtech.spatial4j.io
-
Deprecated.
- WktShapeParser(SpatialContext, SpatialContextFactory) - Constructor for class org.locationtech.spatial4j.io.WktShapeParser
-
Deprecated.
- wktWriter - Variable in class org.locationtech.spatial4j.io.SupportedFormats
- WKTWriter - Class in org.locationtech.spatial4j.io
- WKTWriter() - Constructor for class org.locationtech.spatial4j.io.WKTWriter
- WORLD_180E180W - Static variable in class org.locationtech.spatial4j.shape.impl.Range.LongitudeRange
-
Deprecated.
- worldBounds - Variable in class org.locationtech.spatial4j.context.SpatialContext
- worldBounds - Variable in class org.locationtech.spatial4j.context.SpatialContextFactory
- write(char) - Method in class org.locationtech.spatial4j.io.PolyshapeWriter.Encoder
- write(double, double) - Method in class org.locationtech.spatial4j.io.PolyshapeWriter.Encoder
- write(JsonGenerator, double...) - Method in class org.locationtech.spatial4j.io.jackson.ShapeAsGeoJSONSerializer
- write(JsonGenerator, Coordinate) - Method in class org.locationtech.spatial4j.io.jackson.GeometryAsGeoJSONSerializer
- write(JsonGenerator, Coordinate[]) - Method in class org.locationtech.spatial4j.io.jackson.GeometryAsGeoJSONSerializer
- write(JsonGenerator, CoordinateSequence) - Method in class org.locationtech.spatial4j.io.jackson.GeometryAsGeoJSONSerializer
- write(JsonGenerator, Polygon) - Method in class org.locationtech.spatial4j.io.jackson.GeometryAsGeoJSONSerializer
- write(JsonGenerator, Shape) - Method in class org.locationtech.spatial4j.io.jackson.ShapeAsGeoJSONSerializer
- write(Writer, NumberFormat, double...) - Method in class org.locationtech.spatial4j.io.GeoJSONWriter
- write(Writer, NumberFormat, Coordinate) - Method in class org.locationtech.spatial4j.io.jts.JtsGeoJSONWriter
- write(Writer, NumberFormat, Coordinate[]) - Method in class org.locationtech.spatial4j.io.jts.JtsGeoJSONWriter
- write(Writer, NumberFormat, CoordinateSequence) - Method in class org.locationtech.spatial4j.io.jts.JtsGeoJSONWriter
- write(Writer, NumberFormat, Polygon) - Method in class org.locationtech.spatial4j.io.jts.JtsGeoJSONWriter
- write(Writer, Geometry) - Method in class org.locationtech.spatial4j.io.jts.JtsGeoJSONWriter
- write(Writer, Shape) - Method in class org.locationtech.spatial4j.io.GeoJSONWriter
- write(Writer, Shape) - Method in class org.locationtech.spatial4j.io.jts.JtsGeoJSONWriter
- write(Writer, Shape) - Method in class org.locationtech.spatial4j.io.LegacyShapeWriter
-
Deprecated.
- write(Writer, Shape) - Method in class org.locationtech.spatial4j.io.PolyshapeWriter
- write(Writer, Shape) - Method in interface org.locationtech.spatial4j.io.ShapeWriter
-
Write a shape to the output writer
- write(Writer, Shape) - Method in class org.locationtech.spatial4j.io.WKTWriter
- write(PolyshapeWriter.Encoder, Coordinate[]) - Method in class org.locationtech.spatial4j.io.jts.JtsPolyshapeWriter
- write(PolyshapeWriter.Encoder, CoordinateSequence) - Method in class org.locationtech.spatial4j.io.jts.JtsPolyshapeWriter
- write(PolyshapeWriter.Encoder, Geometry) - Method in class org.locationtech.spatial4j.io.jts.JtsPolyshapeWriter
- write(PolyshapeWriter.Encoder, Polygon) - Method in class org.locationtech.spatial4j.io.jts.JtsPolyshapeWriter
- write(PolyshapeWriter.Encoder, Shape) - Method in class org.locationtech.spatial4j.io.jts.JtsPolyshapeWriter
- write(PolyshapeWriter.Encoder, Shape) - Method in class org.locationtech.spatial4j.io.PolyshapeWriter
- writeArg(double) - Method in class org.locationtech.spatial4j.io.PolyshapeWriter.Encoder
- writeCircle(DataOutput, Circle) - Method in class org.locationtech.spatial4j.io.BinaryCodec
- writeCollection(DataOutput, ShapeCollection) - Method in class org.locationtech.spatial4j.io.BinaryCodec
- writeDim(DataOutput, double) - Method in class org.locationtech.spatial4j.io.BinaryCodec
- writeDim(DataOutput, double) - Method in class org.locationtech.spatial4j.io.jts.JtsBinaryCodec
- writeDistance(JsonGenerator, double, boolean, String, String) - Method in class org.locationtech.spatial4j.io.jackson.ShapeAsGeoJSONSerializer
-
Helper method to encode a distance property (with optional unit).
- writeDistance(Writer, NumberFormat, double, boolean, String, String) - Method in class org.locationtech.spatial4j.io.GeoJSONWriter
-
Helper method to encode a distance property (with optional unit).
- writeJtsGeom(DataOutput, Shape) - Method in class org.locationtech.spatial4j.io.jts.JtsBinaryCodec
- writePoint(DataOutput, Point) - Method in class org.locationtech.spatial4j.io.BinaryCodec
- writer - Variable in class org.locationtech.spatial4j.io.PolyshapeWriter.Encoder
- writeRect(DataOutput, Rectangle) - Method in class org.locationtech.spatial4j.io.BinaryCodec
- writers - Variable in class org.locationtech.spatial4j.context.SpatialContextFactory
- writers - Variable in class org.locationtech.spatial4j.io.SupportedFormats
- writeShape(DataOutput, Shape) - Method in class org.locationtech.spatial4j.io.BinaryCodec
- writeShape(Shape) - Static method in class org.locationtech.spatial4j.io.LegacyShapeWriter
-
Deprecated.Writes a shape to a String, in a format that can be read by
LegacyShapeReader.readShapeOrNull(String, SpatialContext)
- writeShape(Shape, NumberFormat) - Static method in class org.locationtech.spatial4j.io.LegacyShapeWriter
-
Deprecated.Overloaded to provide a number format.
- writeShapeByTypeIfSupported(DataOutput, Shape) - Method in class org.locationtech.spatial4j.io.BinaryCodec
-
Note: writes the type byte even if not supported
- writeShapeByTypeIfSupported(DataOutput, Shape, byte) - Method in class org.locationtech.spatial4j.io.BinaryCodec
- writeShapeByTypeIfSupported(DataOutput, Shape, byte) - Method in class org.locationtech.spatial4j.io.jts.JtsBinaryCodec
X
- x - Variable in class org.locationtech.spatial4j.shape.impl.PointImpl
- xRange(Rectangle, SpatialContext) - Static method in class org.locationtech.spatial4j.shape.impl.Range
-
Deprecated.
- XReader(Reader, ShapeFactory) - Constructor for class org.locationtech.spatial4j.io.PolyshapeReader.XReader
Y
- y - Variable in class org.locationtech.spatial4j.shape.impl.PointImpl
- yRange(Rectangle, SpatialContext) - Static method in class org.locationtech.spatial4j.shape.impl.Range
-
Deprecated.
All Classes All Packages