User Tools

Site Tools


api:dk11:delphi:gistopology.tgis_topology.getcrossings_tgis_shape_tgis_shape

Table of Contents

TGIS_Topology.GetCrossings method

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

Get all crossing points between given shapes.

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

Syntax

// Delphi
public
  function GetCrossings(
    const _shpA : TGIS_Shape;
    const _shpB : TGIS_Shape
  ) : TGIS_PointList;
// C++ Builder
public:
  TGIS_PointList* GetCrossings(
    TGIS_Shape* const _shpA,
    TGIS_Shape* const _shpB
  );

Parameters

Name Type Description
_shpA TGIS_Shape given shape
_shpB TGIS_Shape second given shape

Result

Type Description
TGIS_PointList returns list of crossing points

Remarks

Remember to free this list.
See TGIS_ShapePolygon.GetIntersect for example.

2022/11/30 19:19

Page Tools