DK for ActiveX | TatukGIS_XDK11.ITGIS_Shape.IsInsidePolygon | Methods | Properties
Tests whether the shape is completely or partially inside a polygon shape, depending on the requested containment mode.
// C# public WordBool IsInsidePolygon( ITGIS_ShapePolygon _shape, TGIS_InsideType _itype );
' VisualBasic Public Function IsInsidePolygon( ByVal _shape As ITGIS_ShapePolygon, ByVal _itype As TGIS_InsideType ) As WordBool
// Oxygene public function IsInsidePolygon( _shape : ITGIS_ShapePolygon; _itype : TGIS_InsideType ) : WordBool;
| Name | Type | Description |
|---|---|---|
| _shape | ITGIS_ShapePolygon | Polygon shape used as the containment boundary, including any interior rings (holes). |
| _itype | TGIS_InsideType | Containment mode: AllInside requires all vertices inside the polygon, AnyInside requires at least one vertex inside, and Intersect checks whether the geometries intersect. |
| Type | Description |
|---|---|
| WordBool | True if the shape satisfies _itype relative to the polygon shape; otherwise, False. |
PURPOSE: Performs polygon-based spatial filtering against closed area geometry such as administrative boundaries, parcels, mask polygons, or analysis regions.
BEHAVIOR: Evaluates the shape against the polygon geometry using the requested inside test. Polygon holes are treated as interior rings and are excluded from the polygon interior.
CONSTRAINTS: _shape must be a valid polygon geometry. Results depend on polygon topology and ring structure.