DK for ActiveX | TatukGIS_XDK11.ITGIS_Shape.IsInsideExtent | Methods | Properties
Tests whether the shape is completely or partially inside an axis-aligned rectangular extent.
// C# public WordBool IsInsideExtent( ITGIS_Extent _extent, TGIS_InsideType _itype );
' VisualBasic Public Function IsInsideExtent( ByVal _extent As ITGIS_Extent, ByVal _itype As TGIS_InsideType ) As WordBool
// Oxygene public function IsInsideExtent( _extent : ITGIS_Extent; _itype : TGIS_InsideType ) : WordBool;
| Name | Type | Description |
|---|---|---|
| _extent | ITGIS_Extent | Bounding rectangle to test, defined by XMin, YMin, XMax, and YMax. |
| _itype | TGIS_InsideType | Containment type: AllInside requires all vertices inside the extent, AnyInside requires at least one vertex inside, and Intersect checks whether the shape intersects the extent. |
| Type | Description |
|---|---|
| WordBool | True if the shape satisfies _itype relative to _extent; otherwise, False. |
PURPOSE: Performs fast extent-based spatial filtering for viewport culling, rectangular selection, and prefiltering before more expensive topology tests.
BEHAVIOR: Evaluates the shape against the specified axis-aligned extent using the requested inside test. Intersect mode checks whether the shape and extent share any common area or boundary.
CONSTRAINTS: The extent is axis-aligned only and does not support rotated rectangles.