|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
ISpatialReference2GEN. You can use the GEN interface proxy's Object-constructor to cast an instance of this interface to its GEN equivalent. Any ArcGIS class that implements this interface also implements the GEN interface.
Provides access to additional members that control a SpatialReference.
Extends the ISpatialReference interface by adding functions to compare precision (resolution) of two spatial references, and round off coordinate data to the current resolution.
| Method Summary | |
void |
applyPrecision(int cPoints,
_WKSPoint points,
double[] ms,
double[] zs)
Deprecated. Applies the measure and z value precisions. |
void |
applyXYPrecision(int cPoints,
_WKSPoint points)
Deprecated. Applies the XY precision. |
boolean |
isMPrecisionEqual(ISpatialReference otherSR)
Deprecated. Returns true if the measure precisions of the two spatial references are the same. |
boolean |
isXYPrecisionEqual(ISpatialReference otherSR)
Deprecated. Returns true if the XY precisions of the two spatial references are the same. |
boolean |
isZPrecisionEqual(ISpatialReference otherSR)
Deprecated. Returns true if the Z precisions of the two spatial references are the same. |
| 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 |
public boolean isXYPrecisionEqual(ISpatialReference otherSR)
throws java.io.IOException,
AutomationException
otherSR - A reference to a com.esri.arcgis.geometry.ISpatialReference (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isMPrecisionEqual(ISpatialReference otherSR)
throws java.io.IOException,
AutomationException
otherSR - A reference to a com.esri.arcgis.geometry.ISpatialReference (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isZPrecisionEqual(ISpatialReference otherSR)
throws java.io.IOException,
AutomationException
otherSR - A reference to a com.esri.arcgis.geometry.ISpatialReference (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void applyXYPrecision(int cPoints,
_WKSPoint points)
throws java.io.IOException,
AutomationException
The ApplyXYPrecision method snaps XY coordinate values to the spatial reference's coordinate grid. Normally, the geodatabase calls this method when appropriate, however you may need to use it when comparing locally generated coordinates against features coming from a geodatabase.
The cPoints value is the number of points to which you wish to apply the XY precision (1/resolution). A WKSPoint is a structure that contains the X and Y values of a coordinate pair.
cPoints - The cPoints (in)points - A Structure: com.esri.arcgis.system._WKSPoint (A com.esri.arcgis.system._WKSPoint COM typedef) (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void applyPrecision(int cPoints,
_WKSPoint points,
double[] ms,
double[] zs)
throws java.io.IOException,
AutomationException
The ApplyPrecision method snaps measure or z values to the spatial reference grid. Each SpatialReference has an extent and a resolution (1/precision) for the xy, z, and measure values. You can set this information with the SetZDomain, SetMDomain, SetZFalseOriginAndUnits or the SetMFalseOriginAndUnits methods. If you use a Domain method, the resolution (1/precision) is calculated from the given extent. The FalseOriginAndUnits methods sets the lower bound of the extent and explicitly defines the precision (units, or 1/resolution) of the spatial reference.
cPoints - The cPoints (in)points - A Structure: com.esri.arcgis.system._WKSPoint (A com.esri.arcgis.system._WKSPoint COM typedef) (in)ms - The ms (in)zs - The zs (in)
java.io.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 | |||||||||