A new indexed segment enumerator for this segment collection.
[Visual Basic .NET] Public Function get_IndexedEnumSegments ( _ ByVal queryGeometry As IGeometry _ ) As IEnumSegment
[C#] public IEnumSegment get_IndexedEnumSegments ( IGeometry queryGeometry );
[C++]
HRESULT get_IndexedEnumSegments(
IGeometry* queryGeometry,
IEnumSegment** newIndexedSegmentEnumerator
);
[C++]Parameters
queryGeometryqueryGeometry is a parameter of type IGeometry
newIndexedSegmentEnumerator [out, retval]newIndexedSegmentEnumerator is a parameter of type IEnumSegment
Product Availability
Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.
Description
The IndexedEnumSegments method returns a spatially indexed enumerator of segments. For example this enumerator can be used to quickly retrieve a small set of segments near a point or an envelope and then perform operations on those segments. Any 2D geometry type can be passed to the IndexedEnumSegments method. Depending on the input geometry the type of spatial index varies.
Remarks
Note: In order to have this method returning an indexed segment enumerator the ISpatialIndex::AllowIndexing property must be set to 'true' on the geometry.