User Tools

Site Tools


api:dk11:delphi:gislayervector.gisispointinsidepolygon_tgis_point_tgis_shapepolygon

Table of Contents

GisIsPointInsidePolygon(TGIS_Point; TGIS_ShapePolygon) method

DK for Delphi | GisLayerVector.GisIsPointInsidePolygon | Overloads | Methods | Classes | Prototypes

Test if a given point is inside a given polygon.

Syntax

// Delphi
function GisIsPointInsidePolygon(
  const _ptg : TGIS_Point;
  const _shape : TGIS_ShapePolygon
) : Boolean; overload;
// C++ Builder
extern DELPHI_PACKAGE bool GisIsPointInsidePolygon(
  TGIS_Point* const _ptg,
  TGIS_ShapePolygon* const _shape
) /* overload */;

Parameters

Name Type Description
_ptg TGIS_Point point to test
_shape TGIS_ShapePolygon polygon to test

Result

Type Description
Boolean True if relation is true.

Remarks

See GisIsPointInsideExtent for example.

2025/01/31 01:08

Page Tools