User Tools

Site Tools


api:dk11:delphi:gislayervector.tgis_shape.relate_tgis_shape_string

TGIS_Shape.Relate method

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

Checks nine-intersection matrix for self and given shape

Available also on: .NET | Java | ActiveX.

Syntax

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

Parameters

Name Type Description
_shape TGIS_Shape given shape
_isectionMatrix String intersection matrix

Result

Type Description
Boolean True if conditions in matrix are true.

Remarks

Internally it uses Topology class to find relations. See GIS_Topology for details and examples.

References

2020/05/07 01:09