DK for ActiveX | TatukGIS_XDK11.ITGIS_Shape.IsInsideCircle | Methods | Properties
Tests whether the shape is completely or partially inside circular bounds defined by a center point and radius.
// C# public WordBool IsInsideCircle( ITGIS_Point _center, double _range, TGIS_InsideType _itype );
' VisualBasic Public Function IsInsideCircle( ByVal _center As ITGIS_Point, ByVal _range As Double, ByVal _itype As TGIS_InsideType ) As WordBool
// Oxygene public function IsInsideCircle( _center : ITGIS_Point; _range : Double; _itype : TGIS_InsideType ) : WordBool;
| Name | Type | Description |
|---|---|---|
| _center | ITGIS_Point | Circle center point used as the reference for radius measurement. |
| _range | double Double | Circle radius in map units. |
| _itype | TGIS_InsideType | Containment type: AllInside requires all vertices inside the circle, AnyInside requires at least one vertex inside, and Intersect checks whether the shape intersects the circle. |
| Type | Description |
|---|---|
| WordBool | True if the shape satisfies _itype relative to the circle; otherwise, False. |
PURPOSE: Performs circular spatial filtering for proximity queries, radius searches, and distance-based selection around a point location.
BEHAVIOR: Evaluates the shape against a circle centered at _center with radius _range. Distance is calculated in planar space using the current map units rather than geodetic measurement.
CONSTRAINTS: _range is expressed in map units, so the meaning depends on the active CRS (Coordinate Reference System) or map coordinate system. This method does not perform geodetic calculations.