| Package | Description |
|---|---|
| com.thinkaurelius.titan.core.attribute |
| Modifier and Type | Method and Description |
|---|---|
static Geoshape |
Geoshape.box(double southWestLatitude,
double southWestLongitude,
double northEastLatitude,
double northEastLongitude)
Constructs a new box shape which is identified by its south-west and north-east corner points
|
static Geoshape |
Geoshape.circle(double latitude,
double longitude,
double radiusInKM)
Constructs a circle from a given center point and a radius in kilometer
|
Geoshape |
Geoshape.GeoshapeSerializer.convert(Object value) |
Geoshape |
Geoshape.GeoshapeGsonDeserializer.deserialize(org.apache.tinkerpop.shaded.jackson.core.JsonParser jsonParser,
org.apache.tinkerpop.shaded.jackson.databind.DeserializationContext deserializationContext) |
static Geoshape |
Geoshape.fromWkt(String wkt)
Create Geoshape from WKT representation.
|
static Geoshape |
Geoshape.geoshape(com.vividsolutions.jts.geom.Geometry geometry)
Constructs a Geoshape from a JTS
Geometry. |
static Geoshape |
Geoshape.geoshape(com.spatial4j.core.shape.Shape shape)
Constructs a Geoshape from a spatial4j
Shape. |
static Geoshape |
Geoshape.line(double... coordinates)
Constructs a new line shape which is identified by its coordinates
|
static Geoshape |
Geoshape.line(List<double[]> coordinates)
Constructs a line from list of coordinates
|
static Geoshape |
Geoshape.point(double latitude,
double longitude)
Constructs a point from its latitude and longitude information
|
static Geoshape |
Geoshape.polygon(double... coordinates)
Constructs a new polygon shape which is identified by its coordinates
|
static Geoshape |
Geoshape.polygon(List<double[]> coordinates)
Constructs a polygon from list of coordinates
|
static Geoshape |
Geoshape.GeoshapeBinarySerializer.read(InputStream inputStream)
Deserialize a geoshape.
|
Geoshape |
Geoshape.GeoShapeGryoSerializer.read(org.apache.tinkerpop.shaded.kryo.Kryo kryo,
org.apache.tinkerpop.shaded.kryo.io.Input input,
Class<Geoshape> aClass) |
Geoshape |
Geoshape.GeoshapeSerializer.read(ScanBuffer buffer) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
Geoshape.contains(Geoshape outer)
Whether this geometry contains the given geometry.
|
boolean |
Geoshape.disjoint(Geoshape other)
Whether this geometry has no points in common with the given geometry.
|
boolean |
Geoshape.intersect(Geoshape other)
Whether this geometry has any points in common with the given geometry.
|
void |
Geoshape.GeoshapeGsonSerializer.serialize(Geoshape value,
org.apache.tinkerpop.shaded.jackson.core.JsonGenerator jgen,
org.apache.tinkerpop.shaded.jackson.databind.SerializerProvider provider) |
void |
Geoshape.GeoshapeGsonSerializer.serializeWithType(Geoshape geoshape,
org.apache.tinkerpop.shaded.jackson.core.JsonGenerator jgen,
org.apache.tinkerpop.shaded.jackson.databind.SerializerProvider serializerProvider,
org.apache.tinkerpop.shaded.jackson.databind.jsontype.TypeSerializer typeSerializer) |
static String |
Geoshape.GeoshapeGsonSerializer.toGeoJson(Geoshape geoshape) |
void |
Geoshape.GeoshapeSerializer.verifyAttribute(Geoshape value) |
boolean |
Geoshape.within(Geoshape outer)
Whether this geometry is within the given geometry.
|
void |
Geoshape.GeoShapeGryoSerializer.write(org.apache.tinkerpop.shaded.kryo.Kryo kryo,
org.apache.tinkerpop.shaded.kryo.io.Output output,
Geoshape geoshape) |
static void |
Geoshape.GeoshapeBinarySerializer.write(OutputStream outputStream,
Geoshape attribute)
Serialize a geoshape.
|
void |
Geoshape.GeoshapeSerializer.write(WriteBuffer buffer,
Geoshape attribute) |
| Modifier and Type | Method and Description |
|---|---|
Geoshape |
Geoshape.GeoShapeGryoSerializer.read(org.apache.tinkerpop.shaded.kryo.Kryo kryo,
org.apache.tinkerpop.shaded.kryo.io.Input input,
Class<Geoshape> aClass) |
Copyright © 2012–2016. All rights reserved.