Documentation | Samples | SelectByShape
How to select shapes from a layer by user-defined shape (circle and rectangle in this samples).
This sample illustrates use of:
Name | Description |
---|---|
TGIS_LayerVector.DeselectAll | Clears selection of all shapes. |
TGIS_LayerVector.RevertShapes | Reverts all shapes to their original state. |
TGIS_LayerVector.CreateShape | Creates a new shape and makes it editable. |
TGIS_LayerVector.FindFirst | Finds the first shape in layer. |
TGIS_LayerVector.FindNext | Finds the next occurrence of an item defined in FindFirst. |
TGIS_Shape.AddPart | Add next part to the shape. |
TGIS_Shape.AddPoint | Add a point to the last part of the shape. |
TGIS_Topology.MakeBuffer | Compute a buffer around a shape to a given distance. |
TGIS_ViewerWnd.PaintExtraEvent | PaintExtra event. |
This sample is available on following platforms (click to see source code):