|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.interop.Dispatch com.esri.arcgis.editor.ISnapEnvironmentProxy com.esri.arcgis.editor.ISnapEnvironment2Proxy
public class ISnapEnvironment2Proxy
Provides access to members used to manipulate the snap environment for Zs.
For more information about snapping in z, refer to Working with Zs in the editor.
Field Summary | |
---|---|
boolean |
noncastable
|
Fields inherited from class com.esri.arcgis.interop.Dispatch |
---|
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, objRef |
Constructor Summary | |
---|---|
|
ISnapEnvironment2Proxy()
|
|
ISnapEnvironment2Proxy(Object obj)
|
protected |
ISnapEnvironment2Proxy(Object obj,
String iid)
|
Method Summary | |
---|---|
void |
addListener(String iidStr,
Object theListener,
Object theSource)
|
double |
getSnapZTolerance()
The snap tolerance used for z-values, measured in map units. |
boolean |
isUseSnapZTolerance()
Indicates whether the SnapZTolerance property is used when Z snapping. |
void |
removeListener(String iidStr,
Object theListener)
|
void |
setSnapZTolerance(double tolerance)
The snap tolerance used for z-values, measured in map units. |
void |
setUseSnapZTolerance(boolean useSnapZTolerance)
Indicates whether the SnapZTolerance property is used when Z snapping. |
Methods inherited from class com.esri.arcgis.editor.ISnapEnvironmentProxy |
---|
addSnapAgent, clearSnapAgents, getSnapAgent, getSnapAgentCount, getSnapTolerance, getSnapToleranceUnits, removeSnapAgent, setSnapTolerance, setSnapToleranceUnits, snapPoint |
Methods inherited from class com.esri.arcgis.interop.Dispatch |
---|
bindUsingMoniker, constructVtblPosTable, convertToNative, cookieForListener, createDispatch, createObjrefMonikerDisplayName, equals, getActiveObject, getActiveObject, getDefaultProperty, getDispatchIdOfName, getLastErrorCode, getMtsObjectContext, getObjRef, getPropertyByName, getPropertyByName, getVtblPos, hashCode, initDispatch, invoke, invokeMethodByName, invokeMethodByName, invokeMethodByName, invokePropertyGetByName, invokePropertyPutByName, invokePropertyPutByRefByName, isNativeMode, isObjRef, optimizedVtblInvoke, queryInterface, readExternal, release, setNativeMode, setPropertyByName, toString, vtblInvoke, writeExternal |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface com.esri.arcgis.editor.ISnapEnvironment |
---|
addSnapAgent, clearSnapAgents, getSnapAgent, getSnapAgentCount, getSnapTolerance, getSnapToleranceUnits, removeSnapAgent, setSnapTolerance, setSnapToleranceUnits, snapPoint |
Field Detail |
---|
public boolean noncastable
Constructor Detail |
---|
public ISnapEnvironment2Proxy()
public ISnapEnvironment2Proxy(Object obj) throws IOException
IOException
protected ISnapEnvironment2Proxy(Object obj, String iid) throws IOException
IOException
Method Detail |
---|
public void addListener(String iidStr, Object theListener, Object theSource) throws IOException
addListener
in class ISnapEnvironmentProxy
IOException
public void removeListener(String iidStr, Object theListener) throws IOException
removeListener
in class ISnapEnvironmentProxy
IOException
public boolean isUseSnapZTolerance() throws IOException, AutomationException
Boolean value that determines whether z-aware snap agents use a defined tolerance when evaluating if a point meets the snap agent's criteria. The tolerance is defined using ISnapEnvironment2::SnapZTolerance. Default value is FALSE.
isUseSnapZTolerance
in interface ISnapEnvironment2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setUseSnapZTolerance(boolean useSnapZTolerance) throws IOException, AutomationException
setUseSnapZTolerance
in interface ISnapEnvironment2
useSnapZTolerance
- The useSnapZTolerance (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public double getSnapZTolerance() throws IOException, AutomationException
Double value that defines the cylinder (defined as distance positively and negatively from snap point's Z-value) used to determine whether the point snaps to another feature. The z-snap tolerance is evaluated only after a snap agent in XY is satisfied. Default value is 0. SnapZTolerance is only applied when IEditorZ::UseSnapZTolerance is TRUE.
getSnapZTolerance
in interface ISnapEnvironment2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setSnapZTolerance(double tolerance) throws IOException, AutomationException
The SnapZTolerance property defines the height region bounding the input point location and will be used in conjunction with the XY tolerance. It is always expressed in z-units, and the search for a potential snap point candidate is made within the cylinder region it defines.
Note: The z-unit is determined based on the first editable layer added to the map
setSnapZTolerance
in interface ISnapEnvironment2
tolerance
- The tolerance (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 |