|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ISnapEnvironment2
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.
Method Summary | |
---|---|
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 |
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 interface com.esri.arcgis.editor.ISnapEnvironment |
---|
addSnapAgent, clearSnapAgents, getSnapAgent, getSnapAgentCount, getSnapTolerance, getSnapToleranceUnits, removeSnapAgent, setSnapTolerance, setSnapToleranceUnits, snapPoint |
Method Detail |
---|
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.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setUseSnapZTolerance(boolean useSnapZTolerance) throws IOException, AutomationException
useSnapZTolerance
- The useSnapZTolerance (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.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.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.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
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 |