User Tools

Site Tools


api:dk11:delphi:gisshortestpath.tgis_linklevelevent_tobject_tgis_shapearc_shortint_shortint

Table of Contents

TGIS_LinkLevelEvent prototype

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

Event for the link levels calculation.

Syntax

// Delphi
type
  TGIS_LinkLevelEvent = procedure (
    _sender : TObject;
    _shape : TGIS_ShapeArc;
    var _from : ShortInt;
    var _to : ShortInt
  ) of object;
// C++ Builder
typedef void (_closure *TGIS_LinkLevelEvent)(
  TObject* _sender,
  TGIS_ShapeArc* _shape,
  signed char &_from,
  signed char &_to
);

Parameters

Name Type Description
_sender TObject sender object
_shape TGIS_ShapeArc shape related to the event
_from ShortInt level at the first point of the shape
_to ShortInt level at the last point of the shape
2017/09/04 11:17

Page Tools