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 class
SpatialReferenceImpl.Precision
-
Field Summary
Fields Modifier and Type Field Description static int
c_SULIMIT32
static long
c_SULIMIT64
private static int[]
m_esri_codes
private static java.util.concurrent.locks.ReentrantLock
m_lock
(package private) int
m_userLatestWkid
(package private) int
m_userOldestWkid
(package private) int
m_userWkid
(package private) java.lang.String
m_userWkt
(package private) static boolean
no_projection_engine
-
Constructor Summary
Constructors Constructor Description SpatialReferenceImpl()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SpatialReferenceImpl
createImpl(int wkid)
static SpatialReferenceImpl
createImpl(java.lang.String wkt)
boolean
equals(java.lang.Object obj)
(package private) static double
geodesicDistanceOnWGS84Impl(Point ptFrom, Point ptTo)
java.lang.String
getAuthority()
private java.lang.String
getAuthority_(int latestWKID)
(package private) double
getFalseM()
(package private) double
getFalseX()
(package private) double
getFalseY()
(package private) double
getFalseZ()
(package private) double
getGridUnitsM()
(package private) double
getGridUnitsXY()
(package private) double
getGridUnitsZ()
int
getID()
Returns the well known ID for the horizontal coordinate system of the spatial reference.(package private) int
getLatestID()
Returns the latest value of the well known ID for the horizontal coordinate system of the spatial reference.(package private) int
getOldID()
Returns the oldest value of the well known ID for the horizontal coordinate system of the spatial reference.(package private) SpatialReferenceImpl.Precision
getPrecision()
java.lang.String
getText()
(package private) double
getTolerance(int semantics)
Get the XY tolerance of the spatial referenceint
hashCode()
void
queryValidCoordinateRange(Envelope2D env2D)
boolean
requiresReSimplify(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:SpatialReference
Returns the well known ID for the horizontal coordinate system of the spatial reference.- Specified by:
getID
in 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:SpatialReference
Get the XY tolerance of the spatial reference- Specified by:
getTolerance
in 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:
getText
in 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:
getOldID
in 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:
getLatestID
in 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:
equals
in classjava.lang.Object
-
getAuthority
public java.lang.String getAuthority()
-
getAuthority_
private java.lang.String getAuthority_(int latestWKID)
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-