|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IFeatureCache
Provides access to members that control a cache of features in memory for a particular spatial extent.
Method Summary | |
---|---|
void |
addFeatures(IFeatureClass fclass)
Fills the cache with features from the featureclass. |
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 initialize(IPoint point, double size) throws IOException, AutomationException
This method initializes the cache using an envelope created from the point by expanding it in height and width according to the specified size value. Size should be in the same units as the point.
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.void addFeatures(IFeatureClass fclass) throws IOException, AutomationException
Adds the features in the specified features class that fit within the envelope the cache was initialized with to the cache.
fclass
- A reference to a com.esri.arcgis.geodatabase.IFeatureClass (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 |