DK for ActiveX | TatukGIS_XDK11.ITGIS_Shape.AddToIndex | Methods | Properties
Add the shape extent to the spatial index to enable fast spatial queries.
// C# public void AddToIndex();
' VisualBasic Public Sub AddToIndex()
// Oxygene public procedure AddToIndex;
PURPOSE: Registers the shape in the layer spatial index, typically an R-Tree, so extent-based searches can find it efficiently.
BEHAVIOR: Inserts the current shape bounds into the spatial index used by the owning vector layer.
USAGE: Use this method when shape geometry is added outside the normal layer-managed workflow and the spatial index must be updated explicitly.
CONSTRAINTS: Effective only when the owning layer uses a spatial index.