User Tools

Site Tools


api:dk11:delphi:gisshortestpath.tgis_linkevent_tobject_tgis_shapearc_boolean_boolean

Table of Contents

TGIS_LinkEvent prototype

DK11 for Delphi | GisShortestPath.TGIS_LinkEvent | Enums | Classes | Prototypes

Event for segment traverse.

Syntax

// Delphi
type
  TGIS_LinkEvent = procedure (
    _sender : TObject;
    _shape : TGIS_ShapeArc;
    _reverse : Boolean;
    _crossend : Boolean
  ) of object;
// C++ Builder
typedef void (_closure *TGIS_LinkEvent)(
  TObject* _sender,
  TGIS_ShapeArc* _shape,
  bool _reverse,
  bool _crossend
);

Parameters

Name Type Description
_sender TObject sender object
_shape TGIS_ShapeArc shape related to the event
_reverse Boolean true if link will be traversed in a reverse direction
_crossend Boolean true if end of the segment is connected to more then one line segment (so it is a crossroad)
2020/01/31 01:09

Page Tools