User Tools

Site Tools


api:dk11:delphi:gislayervector.tgis_shape.isinsidepolygon_tgis_shapepolygon_tgis_insidetype

Table of Contents

TGIS_Shape.IsInsidePolygon method

DK11 for Delphi | GisLayerVector.TGIS_Shape.IsInsidePolygon | Constructors | Fields | Methods | Properties

Test if the shape is inside a given polygon.

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

Syntax

// Delphi
public
  function IsInsidePolygon(
    const _shape : TGIS_ShapePolygon;
    const _itype : TGIS_InsideType
  ) : Boolean; virtual;
// C++ Builder
public:
  virtual bool IsInsidePolygon(
    TGIS_ShapePolygon* const _shape,
    TGIS_InsideType* const _itype
  );

Parameters

Name Type Description
_shape TGIS_ShapePolygon polygon to test with
_itype TGIS_InsideType kind of test

Result

Type Description
Boolean True if relation is true.
2022/11/16 01:22

Page Tools