Package | Description |
---|---|
org.locationtech.spatial4j.context |
SpatialContext implementations are the facade to the Spatial4j API.
|
org.locationtech.spatial4j.distance |
Ways to calculate distance.
|
org.locationtech.spatial4j.io |
Reading & writing shapes in various forms.
|
org.locationtech.spatial4j.shape |
Shapes are the core geometry objects that Spatial4j provides.
|
org.locationtech.spatial4j.shape.impl | |
org.locationtech.spatial4j.shape.jts |
Modifier and Type | Method and Description |
---|---|
Circle |
SpatialContext.makeCircle(double x,
double y,
double distance)
Deprecated.
|
Circle |
SpatialContext.makeCircle(Point point,
double distance)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
double |
DistanceCalculator.area(Circle circle) |
double |
CartesianDistCalc.area(Circle circle) |
double |
GeodesicSphereDistCalc.area(Circle circle) |
Modifier and Type | Method and Description |
---|---|
Circle |
BinaryCodec.readCircle(DataInput dataInput) |
protected Circle |
GeoJSONReader.readCircle(org.noggit.JSONParser parser) |
Modifier and Type | Method and Description |
---|---|
void |
BinaryCodec.writeCircle(DataOutput dataOutput,
Circle c) |
Modifier and Type | Method and Description |
---|---|
Circle |
ShapeFactory.circle(double x,
double y,
double distance)
Construct a circle.
|
Circle |
ShapeFactory.circle(Point point,
double distance)
Construct a circle.
|
Modifier and Type | Class and Description |
---|---|
class |
CircleImpl
A circle, also known as a point-radius, based on a
DistanceCalculator which does all the work. |
class |
GeoCircle
A circle as it exists on the surface of a sphere.
|
Modifier and Type | Method and Description |
---|---|
Circle |
ShapeFactoryImpl.circle(double x,
double y,
double distance) |
Circle |
ShapeFactoryImpl.circle(Point point,
double distance) |
Circle |
PointImpl.getBuffered(double distance,
SpatialContext ctx) |
Circle |
CircleImpl.getBuffered(double distance,
SpatialContext ctx) |
Modifier and Type | Method and Description |
---|---|
static boolean |
CircleImpl.equals(Circle thiz,
Object o)
All
Circle implementations should use this definition of Object.equals(Object) . |
static int |
CircleImpl.hashCode(Circle thiz)
All
Circle implementations should use this definition of Object.hashCode() . |
SpatialRelation |
CircleImpl.relate(Circle circle) |
Modifier and Type | Method and Description |
---|---|
Circle |
JtsPoint.getBuffered(double distance,
SpatialContext ctx) |
Modifier and Type | Method and Description |
---|---|
SpatialRelation |
JtsGeometry.relate(Circle circle) |
Copyright © 2020 LocationTech. All rights reserved.