T
- is the type of GeoAreaShape
public class Geo3dShape<T extends GeoAreaShape> extends Object implements org.locationtech.spatial4j.shape.Shape
GeoAreaShape
("Geo3D") -- a 3D planar geometry
based Spatial4j Shape implementation.
Geo3D implements shapes on the surface of a sphere or ellipsoid.Modifier and Type | Field and Description |
---|---|
protected org.locationtech.spatial4j.shape.Rectangle |
boundingBox |
protected org.locationtech.spatial4j.shape.Point |
center |
protected T |
shape |
protected org.locationtech.spatial4j.context.SpatialContext |
spatialcontext |
Constructor and Description |
---|
Geo3dShape(T shape,
org.locationtech.spatial4j.context.SpatialContext spatialcontext) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
double |
getArea(org.locationtech.spatial4j.context.SpatialContext spatialContext) |
org.locationtech.spatial4j.shape.Rectangle |
getBoundingBox() |
org.locationtech.spatial4j.shape.Shape |
getBuffered(double distance,
org.locationtech.spatial4j.context.SpatialContext spatialContext) |
org.locationtech.spatial4j.shape.Point |
getCenter() |
org.locationtech.spatial4j.context.SpatialContext |
getContext() |
boolean |
hasArea() |
int |
hashCode() |
boolean |
isEmpty() |
org.locationtech.spatial4j.shape.SpatialRelation |
relate(org.locationtech.spatial4j.shape.Shape other) |
String |
toString() |
protected final org.locationtech.spatial4j.context.SpatialContext spatialcontext
protected T extends GeoAreaShape shape
protected volatile org.locationtech.spatial4j.shape.Rectangle boundingBox
protected volatile org.locationtech.spatial4j.shape.Point center
public Geo3dShape(T shape, org.locationtech.spatial4j.context.SpatialContext spatialcontext)
public org.locationtech.spatial4j.shape.SpatialRelation relate(org.locationtech.spatial4j.shape.Shape other)
relate
in interface org.locationtech.spatial4j.shape.Shape
public org.locationtech.spatial4j.shape.Rectangle getBoundingBox()
getBoundingBox
in interface org.locationtech.spatial4j.shape.Shape
public boolean hasArea()
hasArea
in interface org.locationtech.spatial4j.shape.Shape
public double getArea(org.locationtech.spatial4j.context.SpatialContext spatialContext)
getArea
in interface org.locationtech.spatial4j.shape.Shape
public org.locationtech.spatial4j.shape.Point getCenter()
getCenter
in interface org.locationtech.spatial4j.shape.Shape
public org.locationtech.spatial4j.shape.Shape getBuffered(double distance, org.locationtech.spatial4j.context.SpatialContext spatialContext)
getBuffered
in interface org.locationtech.spatial4j.shape.Shape
public boolean isEmpty()
isEmpty
in interface org.locationtech.spatial4j.shape.Shape
public org.locationtech.spatial4j.context.SpatialContext getContext()
getContext
in interface org.locationtech.spatial4j.shape.Shape
public boolean equals(Object o)
Copyright © 2000-2019 Apache Software Foundation. All Rights Reserved.