|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IFeatureCache2
Provides access to members that control a cache of features in memory for a particular spatial extent.
Method Summary | |
---|---|
void |
addFeatures(IFeatureClass fclass,
IEnvelope clip)
Fills the cache with features from the featureclass. |
void |
addLayers(IEnumLayer layers,
IEnvelope clip)
Fills the cache with the features from the specified layers. |
boolean |
contains(IPoint point)
Returns true if the point is contained in the cache. |
int |
getCount()
The number of features in the cache. |
IFeature |
getFeature(int index)
The nth feature. |
void |
initialize(IPoint point,
double size)
Initializes the cache with a given size and location. |
Method Detail |
---|
void addFeatures(IFeatureClass fclass, IEnvelope clip) throws IOException, AutomationException
Adds the features in the specified features class to the cache. Only features that fit within the intersection of the clip envelope and the cache's internal envelope (specified during initialization) will be added.
fclass
- A reference to a com.esri.arcgis.geodatabase.IFeatureClass (in)clip
- A reference to a com.esri.arcgis.geometry.IEnvelope (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void addLayers(IEnumLayer layers, IEnvelope clip) throws IOException, AutomationException
Adds the features in the specified layers to the cache. Only features that fit within the intersection of the clip envelope and the cache's internal envelope (specified during initialization) will be added.
layers
- A reference to a com.esri.arcgis.carto.IEnumLayer (in)clip
- A reference to a com.esri.arcgis.geometry.IEnvelope (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void initialize(IPoint point, double size) throws IOException, AutomationException
point
- A reference to a com.esri.arcgis.geometry.IPoint (in)size
- The size (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.boolean contains(IPoint point) throws IOException, AutomationException
point
- A reference to a com.esri.arcgis.geometry.IPoint (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.int getCount() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IFeature getFeature(int index) throws IOException, AutomationException
index
- The index (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 |