User Tools

Site Tools


api:dk11:delphi:gistopology.tgis_topology.relate_tgis_shape_tgis_shape_string

Table of Contents

TGIS_Topology.Relate method

DK11 for Delphi | GisTopology.TGIS_Topology.Relate | Constructors | Methods | Properties | Events

Checks nine-intersection matrix for given shapes.

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

Syntax

// Delphi
public
  function Relate(
    const _shpA : TGIS_Shape;
    const _shpB : TGIS_Shape;
    const _de9im : String
  ) : Boolean;
// C++ Builder
public:
  bool Relate(
    TGIS_Shape* const _shpA,
    TGIS_Shape* const _shpB,
    const UnicodeString _de9im
  );

Parameters

Name Type Description
_shpA TGIS_Shape given shape
_shpB TGIS_Shape second given shape
_de9im String intersection matrix

Result

Type Description
Boolean returns true if shapes are related

Remarks

Relate can be optimized for subsequent call (if _shpA is the same) by calling RelatePrepare
See TGIS_Topology for details and TGIS_Shape.Relate for example.

2022/11/30 19:19

Page Tools