|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IEditSelectionCache2
Provides access to additional members that cache the selection for fast hit testing.
Use the EditSelectionCache object to quickly determine if the mouse is
over a selected feature.
Method Summary | |
---|---|
boolean |
hitTest(IPoint loc)
Tests if the location is over the selection or not. |
void |
initialize(IEditor editor,
int sizePixels,
boolean blockTopoFeatures)
Initializes the cache using the editor's selection. |
Method Detail |
---|
boolean hitTest(IPoint loc) throws IOException, AutomationException
loc
- A reference to a com.esri.arcgis.geometry.IPoint (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void initialize(IEditor editor, int sizePixels, boolean blockTopoFeatures) throws IOException, AutomationException
At ArcGIS 8.3 and later versions, the BlockTopoFeatures argument will always be evaluated as True. This is a result of the restructuring of the underlying mechanism for working with topological primitives.
editor
- A reference to a com.esri.arcgis.editor.IEditor (in)sizePixels
- The sizePixels (in)blockTopoFeatures
- The blockTopoFeatures (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 |