public FeatureCursor getCursor(GeoExtent query_extent, bool match_exactly) { FeatureOIDList oids = new FeatureOIDList(); for (FeatureCursor cursor = store.getCursor(); cursor.hasNext(); ) { Feature feature = cursor.next(); GeoExtent f_extent = feature.getExtent(); if (f_extent.intersects(query_extent)) { oids.Add(feature.getOID()); } } return new FeatureCursor(oids, store , query_extent, match_exactly); }
public FeatureCursor getCursor(GeoExtent query_extent, bool match_exactly) { FeatureOIDList oids = new FeatureOIDList(); for (FeatureCursor cursor = store.getCursor(); cursor.hasNext();) { Feature feature = cursor.next(); GeoExtent f_extent = feature.getExtent(); if (f_extent.intersects(query_extent)) { oids.Add(feature.getOID()); } } return(new FeatureCursor(oids, store, query_extent, match_exactly)); }