public final class Feature extends Object
Simple class which wraps a Shape and associates it with a id for that shape.
| Constructor and Description |
|---|
Feature(long theId,
org.locationtech.spatial4j.shape.Shape theShape) |
| Modifier and Type | Method and Description |
|---|---|
static Feature |
create(long theId,
org.locationtech.spatial4j.shape.Shape theShape) |
boolean |
equals(Object theObj) |
long |
getId()
Return the identifer of this shape.
|
org.locationtech.spatial4j.shape.Shape |
getShape()
Return the shape of this feature
|
int |
hashCode() |
static Function<Feature,org.locationtech.spatial4j.shape.Point> |
point() |
String |
toString() |
public Feature(long theId,
org.locationtech.spatial4j.shape.Shape theShape)
public static Feature create(long theId, org.locationtech.spatial4j.shape.Shape theShape)
public org.locationtech.spatial4j.shape.Shape getShape()
public long getId()
Copyright © 2010-2016 Stardog Union. All Rights Reserved.