Package com.esri.core.geometry
Class SpatialReferenceImpl
- java.lang.Object
-
- com.esri.core.geometry.SpatialReference
-
- com.esri.core.geometry.SpatialReferenceImpl
-
- All Implemented Interfaces:
java.io.Serializable
class SpatialReferenceImpl extends SpatialReference
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description (package private) static classSpatialReferenceImpl.Precision
-
Field Summary
Fields Modifier and Type Field Description static intc_SULIMIT32static longc_SULIMIT64private static int[]m_esri_codesprivate static java.util.concurrent.locks.ReentrantLockm_lock(package private) intm_userLatestWkid(package private) intm_userOldestWkid(package private) intm_userWkid(package private) java.lang.Stringm_userWkt(package private) static booleanno_projection_engine
-
Constructor Summary
Constructors Constructor Description SpatialReferenceImpl()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SpatialReferenceImplcreateImpl(int wkid)static SpatialReferenceImplcreateImpl(java.lang.String wkt)booleanequals(java.lang.Object obj)(package private) static doublegeodesicDistanceOnWGS84Impl(Point ptFrom, Point ptTo)java.lang.StringgetAuthority()private java.lang.StringgetAuthority_(int latestWKID)(package private) doublegetFalseM()(package private) doublegetFalseX()(package private) doublegetFalseY()(package private) doublegetFalseZ()(package private) doublegetGridUnitsM()(package private) doublegetGridUnitsXY()(package private) doublegetGridUnitsZ()intgetID()Returns the well known ID for the horizontal coordinate system of the spatial reference.(package private) intgetLatestID()Returns the latest value of the well known ID for the horizontal coordinate system of the spatial reference.(package private) intgetOldID()Returns the oldest value of the well known ID for the horizontal coordinate system of the spatial reference.(package private) SpatialReferenceImpl.PrecisiongetPrecision()java.lang.StringgetText()(package private) doublegetTolerance(int semantics)Get the XY tolerance of the spatial referenceinthashCode()voidqueryValidCoordinateRange(Envelope2D env2D)booleanrequiresReSimplify(SpatialReference dst)-
Methods inherited from class com.esri.core.geometry.SpatialReference
create, create, fromJson, fromJson, fromJson, getTolerance, isLocal, toString, writeReplace
-
-
-
-
Field Detail
-
no_projection_engine
static final boolean no_projection_engine
- See Also:
- Constant Field Values
-
c_SULIMIT32
public static final int c_SULIMIT32
- See Also:
- Constant Field Values
-
c_SULIMIT64
public static final long c_SULIMIT64
- See Also:
- Constant Field Values
-
m_userWkid
int m_userWkid
-
m_userLatestWkid
int m_userLatestWkid
-
m_userOldestWkid
int m_userOldestWkid
-
m_userWkt
java.lang.String m_userWkt
-
m_lock
private static final java.util.concurrent.locks.ReentrantLock m_lock
-
m_esri_codes
private static final int[] m_esri_codes
-
-
Method Detail
-
getID
public int getID()
Description copied from class:SpatialReferenceReturns the well known ID for the horizontal coordinate system of the spatial reference.- Specified by:
getIDin classSpatialReference- Returns:
- wkid The well known ID.
-
getFalseX
double getFalseX()
-
getFalseY
double getFalseY()
-
getFalseZ
double getFalseZ()
-
getFalseM
double getFalseM()
-
getGridUnitsXY
double getGridUnitsXY()
-
getGridUnitsZ
double getGridUnitsZ()
-
getGridUnitsM
double getGridUnitsM()
-
getPrecision
SpatialReferenceImpl.Precision getPrecision()
-
getTolerance
double getTolerance(int semantics)
Description copied from class:SpatialReferenceGet the XY tolerance of the spatial reference- Specified by:
getTolerancein classSpatialReference- Returns:
- The XY tolerance of the spatial reference as double.
-
queryValidCoordinateRange
public void queryValidCoordinateRange(Envelope2D env2D)
-
requiresReSimplify
public boolean requiresReSimplify(SpatialReference dst)
-
getText
public java.lang.String getText()
- Specified by:
getTextin classSpatialReference
-
getOldID
int getOldID()
Returns the oldest value of the well known ID for the horizontal coordinate system of the spatial reference. This ID is used for JSON serialization. Not public.- Specified by:
getOldIDin classSpatialReference
-
getLatestID
int getLatestID()
Returns the latest value of the well known ID for the horizontal coordinate system of the spatial reference. This ID is used for JSON serialization. Not public.- Specified by:
getLatestIDin classSpatialReference
-
createImpl
public static SpatialReferenceImpl createImpl(int wkid)
-
createImpl
public static SpatialReferenceImpl createImpl(java.lang.String wkt)
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
getAuthority
public java.lang.String getAuthority()
-
getAuthority_
private java.lang.String getAuthority_(int latestWKID)
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
-