|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IGeographicCoordinateSystem2
Provides access to members that control additional properties and methods for all geographic coordinate systems.
Use IGeographicCoordinateSystem2 when you need to work with map projection horizons or transform between two geographic coordinate systems.
Method Summary | |
---|---|
double |
getAngularConversionFactor(IGeographicCoordinateSystem2 pDstGCS)
A factor to convert angular units from current GCS to destination GCS. |
void |
getGCSParams(double[] p_180,
double[] pDelta)
Returns the 180 degrees equivalent and horizon delta in proper GCS units. |
void |
getHorizon(_WKSEnvelope[] horizonEnvelope)
Returns a standard horizon polygon, its envelope and whether it is inclusive or exclusive; the horizon polygon may be 0. |
double |
getLeftLongitude(boolean inDegrees)
The least (left) longitude bounding a 360 degree range. |
double |
getRightLongitude(boolean inDegrees)
The greatest (right) longitude bounding a 360 degree range. |
void |
setExtentHint(_WKSEnvelope rhs1)
Calculates a 360 degree longitude range from information in the specified envelope and the domain extent of the GCS. |
void |
setLeftLongitude(boolean inDegrees,
double leftLongitude)
The least (left) longitude bounding a 360 degree range. |
void |
setRightLongitude(boolean inDegrees,
double rightLongitude)
The greatest (right) longitude bounding a 360 degree range. |
Methods inherited from interface com.esri.arcgis.geometry.IGeographicCoordinateSystem |
---|
getCoordinateUnit, getDatum, getPrimeMeridian, getUsage |
Methods inherited from interface com.esri.arcgis.geometry.ISpatialReference |
---|
changed, getDomain, getFalseOriginAndUnits, getMDomain, getMFalseOriginAndUnits, getZCoordinateUnit, getZDomain, getZFalseOriginAndUnits, hasMPrecision, hasXYPrecision, hasZPrecision, isPrecisionEqual, setDomain, setFalseOriginAndUnits, setMDomain, setMFalseOriginAndUnits, setZCoordinateUnit, setZDomain, setZFalseOriginAndUnits |
Methods inherited from interface com.esri.arcgis.geometry.ISpatialReferenceInfo |
---|
getAbbreviation, getAlias, getFactoryCode, getName, getRemarks |
Method Detail |
---|
void getGCSParams(double[] p_180, double[] pDelta) throws IOException, AutomationException
GetGCSParams calculates the edge of the horizon for a geographic coordinate system. For example, if your coordinate system is in decimal degrees, 180 is returned. If the units are in grads, 200 is returned. It also returns a delta, a small offset value, in the correct unit of measure.
p_180
- The p_180 (out: use single element array)pDelta
- The pDelta (out: use single element array)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void getHorizon(_WKSEnvelope[] horizonEnvelope) throws IOException, AutomationException
GetHorizon returns an envelope. See also the IProjectedCoordinateSystem2::GetHorizon method.
horizonEnvelope
- A Structure: com.esri.arcgis.system._WKSEnvelope (A com.esri.arcgis.system._WKSEnvelope COM typedef) (in/out: use single element array)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.double getAngularConversionFactor(IGeographicCoordinateSystem2 pDstGCS) throws IOException, AutomationException
pDstGCS
- A reference to a com.esri.arcgis.geometry.IGeographicCoordinateSystem2 (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.double getLeftLongitude(boolean inDegrees) throws IOException, AutomationException
inDegrees
- The inDegrees (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setLeftLongitude(boolean inDegrees, double leftLongitude) throws IOException, AutomationException
inDegrees
- The inDegrees (in)leftLongitude
- The leftLongitude (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.double getRightLongitude(boolean inDegrees) throws IOException, AutomationException
inDegrees
- The inDegrees (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setRightLongitude(boolean inDegrees, double rightLongitude) throws IOException, AutomationException
inDegrees
- The inDegrees (in)rightLongitude
- The rightLongitude (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setExtentHint(_WKSEnvelope rhs1) throws IOException, AutomationException
The ExtentHint, LeftLongitude, and RightLongitude properties are interrelated. Usually, data in a geographic coordinate system has longitude values between -180 and 180 if the unit of measure is degrees. Some datasets are designed to use a minimum longitude value of 0 or -360. The LeftLongitude property controls whether the data is considered as -360 to 0, -180 to 180, or 0 to 360. If two datasets have spatial references with different LeftLongitude values, one needs to be converted to match the other one. You can do this with the GeoNormalize method on IGeometry. ExtentHint is calculated internally by looking at the extent of the data. If the results used to set the LeftLongitude property are incorrect, you can use an envelope to set ExtentHint.
rhs1
- A Structure: com.esri.arcgis.system._WKSEnvelope (A com.esri.arcgis.system._WKSEnvelope COM typedef) (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |