public class Geo3dShape extends Object implements com.spatial4j.core.shape.Shape
| Modifier and Type | Field and Description |
|---|---|
com.spatial4j.core.context.SpatialContext |
ctx |
static double |
DEGREES_PER_RADIAN |
static double |
RADIANS_PER_DEGREE |
protected double |
ROUNDOFF_ADJUSTMENT |
GeoShape |
shape |
| Constructor and Description |
|---|
Geo3dShape(GeoShape shape,
com.spatial4j.core.context.SpatialContext ctx) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object other) |
double |
getArea(com.spatial4j.core.context.SpatialContext ctx) |
com.spatial4j.core.shape.Rectangle |
getBoundingBox() |
com.spatial4j.core.shape.Shape |
getBuffered(double distance,
com.spatial4j.core.context.SpatialContext ctx) |
com.spatial4j.core.shape.Point |
getCenter() |
boolean |
hasArea() |
int |
hashCode() |
boolean |
isEmpty() |
protected com.spatial4j.core.shape.SpatialRelation |
relate(com.spatial4j.core.shape.Point p) |
protected com.spatial4j.core.shape.SpatialRelation |
relate(com.spatial4j.core.shape.Rectangle r) |
com.spatial4j.core.shape.SpatialRelation |
relate(com.spatial4j.core.shape.Shape other) |
String |
toString() |
public final com.spatial4j.core.context.SpatialContext ctx
public final GeoShape shape
public static final double RADIANS_PER_DEGREE
public static final double DEGREES_PER_RADIAN
protected final double ROUNDOFF_ADJUSTMENT
public Geo3dShape(GeoShape shape, com.spatial4j.core.context.SpatialContext ctx)
public com.spatial4j.core.shape.SpatialRelation relate(com.spatial4j.core.shape.Shape other)
relate in interface com.spatial4j.core.shape.Shapeprotected com.spatial4j.core.shape.SpatialRelation relate(com.spatial4j.core.shape.Rectangle r)
protected com.spatial4j.core.shape.SpatialRelation relate(com.spatial4j.core.shape.Point p)
public com.spatial4j.core.shape.Rectangle getBoundingBox()
getBoundingBox in interface com.spatial4j.core.shape.Shapepublic boolean hasArea()
hasArea in interface com.spatial4j.core.shape.Shapepublic double getArea(com.spatial4j.core.context.SpatialContext ctx)
getArea in interface com.spatial4j.core.shape.Shapepublic com.spatial4j.core.shape.Point getCenter()
getCenter in interface com.spatial4j.core.shape.Shapepublic com.spatial4j.core.shape.Shape getBuffered(double distance,
com.spatial4j.core.context.SpatialContext ctx)
getBuffered in interface com.spatial4j.core.shape.Shapepublic boolean isEmpty()
isEmpty in interface com.spatial4j.core.shape.Shapepublic boolean equals(Object other)
Copyright © 2000-2015 Apache Software Foundation. All Rights Reserved.