|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ISnapEnvironment
COM Interface 'ISnapEnvironment'. Generated 3/19/2015 1:21:02 PM from 'C:\ArcGIS\COM\esriEditor.olb'
Description: 'Provides access to members that manage the snap agents used by the editor.' Generator Options: PromptForTypeLibraries = False ClashPrefix = esri_ LowerCaseMemberNames = True IDispatchOnly = False RetryOnReject = False AwtForOcxs = True ArraysAsObjects = False DontRenameSameMethods = False ImplementConflictingInterfaces = True ReuseMethods = True RenameConflictingInterfaceMethods = True GenBeanInfo = True GenerateJavadoc =
Field Summary | |
---|---|
static java.lang.String |
IID
Deprecated. Internal use only |
static int |
IID99305f46_ef10_11d0_aaca_0000f804eb00
|
static int |
xxDummy
Deprecated. Internal use only |
Method Summary | |
---|---|
void |
addSnapAgent(ISnapAgent snapAgent)
Adds a new snap agent to the snap environment. |
void |
clearSnapAgents()
Removes all snap agents. |
ISnapAgent |
getSnapAgent(int index)
A snap agent at the given index. |
int |
getSnapAgentCount()
The number of active snap agents. |
double |
getSnapTolerance()
The snap tolerance, measured in pixels or map units. |
int |
getSnapToleranceUnits()
The units used for the snap tolerance. |
void |
removeSnapAgent(int index)
Removes the snap agent at the given index. |
void |
setSnapTolerance(double tol)
The snap tolerance, measured in pixels or map units. |
void |
setSnapToleranceUnits(int units)
The units used for the snap tolerance. |
boolean |
snapPoint(IPoint point)
Attempts to snap the point using the current snap environment. |
Field Detail |
---|
static final int IID99305f46_ef10_11d0_aaca_0000f804eb00
static final int xxDummy
static final java.lang.String IID
Method Detail |
---|
boolean snapPoint(IPoint point) throws java.io.IOException, AutomationException
point
- A reference to a com.esri.arcgis.geometry.IPoint (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.int getSnapToleranceUnits() throws java.io.IOException, AutomationException
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setSnapToleranceUnits(int units) throws java.io.IOException, AutomationException
units
- A com.esri.arcgis.editor.esriSnapToleranceUnits constant (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.double getSnapTolerance() throws java.io.IOException, AutomationException
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setSnapTolerance(double tol) throws java.io.IOException, AutomationException
tol
- The tol (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.int getSnapAgentCount() throws java.io.IOException, AutomationException
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.ISnapAgent getSnapAgent(int index) throws java.io.IOException, AutomationException
index
- The index (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void clearSnapAgents() throws java.io.IOException, AutomationException
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void removeSnapAgent(int index) throws java.io.IOException, AutomationException
index
- The index (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void addSnapAgent(ISnapAgent snapAgent) throws java.io.IOException, AutomationException
snapAgent
- A reference to a com.esri.arcgis.editor.ISnapAgent (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 |