|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.esri.core.geometry.SpatialReference
public abstract class SpatialReference
A class that represents the spatial reference for the geometry. This class provide tolerance value for the topological and relational operations.
| Constructor Summary | |
|---|---|
SpatialReference()
|
|
| Method Summary | |
|---|---|
static SpatialReference |
create(int wkid)
Creates an instance of the spatial reference based on the provided well known ID for the horizontal coordinate system. |
static SpatialReference |
create(String wktext)
Creates an instance of the spatial reference based on the provided well known text representation for the horizontal coordinate system. |
static SpatialReference |
fromJson(org.codehaus.jackson.JsonParser parser)
Returns spatial reference from the JsonParser. |
abstract int |
getID()
Returns the well known ID for the horizontal coordinate system of the spatial reference. |
abstract String |
getText()
|
double |
getTolerance()
Returns the XY tolerance of the spatial reference. |
String |
toString()
Returns string representation of the class for debugging purposes. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public SpatialReference()
| Method Detail |
|---|
public static SpatialReference create(int wkid)
wkid - The well-known ID.
IllegalArgumentException - if wkid is not supported or does not exist.public static SpatialReference create(String wktext)
wktext - The well-known text string representation of spatial
reference.
public static SpatialReference fromJson(org.codehaus.jackson.JsonParser parser)
throws Exception
parser - The JSON parser.
Exception - if parsing has failedpublic abstract int getID()
public abstract String getText()
public double getTolerance()
public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||