User Tools

Site Tools


api:dk11:activex:tatukgis_xdk11.itgis_shape.isinsidecircle_itgis_point_double_tgis_insidetype

Table of Contents

ITGIS_Shape.IsInsideCircle method

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.

Available also on: Delphi | .NET | Java | Python.

Syntax

// 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;

Parameters

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.

Result

Type Description
WordBool True if the shape satisfies _itype relative to the circle; otherwise, False.

Remarks

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.

2026/07/05 01:25

Page Tools