DK11 for Delphi | GisLayerVector.GisIsPointInsidePolygon | Overloads | Methods | Classes | Prototypes
Test if a given point is inside a given polygon.
// Delphi function GisIsPointInsidePolygon( const _ptg : TGIS_Point; const _shape : TGIS_ShapePolygon; const _part : Integer ) : Boolean; overload;
// C++ Builder extern DELPHI_PACKAGE bool GisIsPointInsidePolygon( TGIS_Point* const _ptg, TGIS_ShapePolygon* const _shape, const int _part ) /* overload */;
Name | Type | Description |
---|---|---|
_ptg | TGIS_Point | point to test |
_shape | TGIS_ShapePolygon | polygon to test |
_part | Integer | if >= 0 then calculation done only for selected part ; |
Type | Description |
---|---|
Boolean | True if relation is true. |
See GisIsPointInsideExtent for example.