Provides access to members that create a temporary spatial index for improving performance of "Disjoint" and some other relational operators.
Description
The ISpatialIndex methods can be used to control whether or not a spatial index should be built and used for the IRelationalOperator operations. It also determines if an index should be built when getting an segment enumerators using ISegmentCollection::IndexedEnumSegments method.
Members
Name | Description | |
---|---|---|
AllowIndexing | Indicates whether to allow a spatial index to be created for this geometry. | |
Invalidate | Invalidate the spatial index. |
ISpatialIndex.AllowIndexing Property
Indicates whether to allow a spatial index to be created for this geometry.
Public Property AllowIndexing As Boolean
public bool AllowIndexing {get; set;}
Remarks
The SpatialIndex if enabled is used by the IRelationalOperator's methods.
ISpatialIndex.Invalidate Method
Invalidate the spatial index.
Public Sub Invalidate ( _
)
public void Invalidate (
);
Classes that implement ISpatialIndex
Classes | Description |
---|---|
GeometryBag | An ordered collection of objects that support the IGeometry interface. |
Multipoint | An ordered collection of points; optionally has measure, height and ID attributes. |