|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.controls.EngineFeatureSnap
public class EngineFeatureSnap
COM Class 'EngineFeatureSnap'. Generated 3/19/2015 1:20:48 PM from 'C:\ArcGIS\COM\esriControls.olb'
Description 'An engine snap agent that snaps to features in a specific feature class.' 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 |
---|
Fields inherited from interface com.esri.arcgis.controls.IEngineFeatureSnapAgent |
---|
IID, IID5d8681b3_01b9_41d5_b4db_c35b745ca15b, xxDummy |
Fields inherited from interface com.esri.arcgis.controls.IEngineSnapAgent |
---|
IIDe7ecdd8e_a513_47a1_9695_172823c329c9 |
Constructor Summary | |
---|---|
EngineFeatureSnap()
Constructs a EngineFeatureSnap using ArcGIS Engine. |
|
EngineFeatureSnap(java.lang.Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. EngineFeatureSnap theEngineFeatureSnap = (EngineFeatureSnap) obj; |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object o)
Compare this object with another |
static java.lang.String |
getClsid()
getClsid. |
IFeatureCache |
getFeatureCache()
The FeatureCache associated with the engine feature snap agent. |
IFeatureClass |
getFeatureClass()
The featureclass the feature snap agent snaps to. |
int |
getHitType()
The part of a geometry the engine feature snap agent snaps to. |
com.esri.arcgis.interop.Dispatch |
getJintegraDispatch()
Deprecated. Internal use only. |
java.lang.String |
getName()
The name of the engine snap agent. |
int |
hashCode()
the hashcode for this object |
void |
release()
Release a EngineFeatureSnap. |
void |
setFeatureClassByRef(IFeatureClass featClass)
The featureclass the feature snap agent snaps to. |
void |
setHitType(int hitType)
The part of a geometry the engine feature snap agent snaps to. |
boolean |
snap(IGeometry geom,
IPoint point,
double tolerance)
Fired by the Engine Editor to perform the actual snapping logic. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EngineFeatureSnap() throws java.io.IOException, java.net.UnknownHostException
java.io.IOException
- if there are interop problems
java.net.UnknownHostException
- if there are interop problemspublic EngineFeatureSnap(java.lang.Object obj) throws java.io.IOException
EngineFeatureSnap theEngineFeatureSnap = (EngineFeatureSnap) obj;
obj
to EngineFeatureSnap
.
obj
- an object returned from ArcGIS Engine or Server
java.io.IOException
- if there are interop problemsMethod Detail |
---|
public static java.lang.String getClsid()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public com.esri.arcgis.interop.Dispatch getJintegraDispatch()
getJintegraDispatch
in interface com.esri.arcgis.interop.RemoteObjRef
public void release()
release
in interface com.esri.arcgis.interop.RemoteObjRef
public void setFeatureClassByRef(IFeatureClass featClass) throws java.io.IOException, AutomationException
setFeatureClassByRef
in interface IEngineFeatureSnapAgent
featClass
- A reference to a com.esri.arcgis.geodatabase.IFeatureClass (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IFeatureClass getFeatureClass() throws java.io.IOException, AutomationException
getFeatureClass
in interface IEngineFeatureSnapAgent
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setHitType(int hitType) throws java.io.IOException, AutomationException
setHitType
in interface IEngineFeatureSnapAgent
hitType
- A com.esri.arcgis.geometry.esriGeometryHitPartType constant (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getHitType() throws java.io.IOException, AutomationException
getHitType
in interface IEngineFeatureSnapAgent
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IFeatureCache getFeatureCache() throws java.io.IOException, AutomationException
getFeatureCache
in interface IEngineFeatureSnapAgent
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public java.lang.String getName() throws java.io.IOException, AutomationException
getName
in interface IEngineSnapAgent
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean snap(IGeometry geom, IPoint point, double tolerance) throws java.io.IOException, AutomationException
snap
in interface IEngineSnapAgent
geom
- A reference to a com.esri.arcgis.geometry.IGeometry (in)point
- A reference to a com.esri.arcgis.geometry.IPoint (in)tolerance
- The tolerance (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 |