User Tools

Site Tools


api:dk11:delphi:gisshortestpath.tgis_linktypeevent_tobject_tgis_shapearc_integer

Table of Contents

TGIS_LinkTypeEvent prototype

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

Event for the link cost calculation.

Syntax

// Delphi
type
  TGIS_LinkTypeEvent = procedure (
    _sender : TObject;
    _shape : TGIS_ShapeArc;
    var _type : Integer
  ) of object;
// C++ Builder
typedef void (_closure *TGIS_LinkTypeEvent)(
  TObject* _sender,
  TGIS_ShapeArc* _shape,
  int &_type
);

Parameters

Name Type Description
_sender TObject sender object
_shape TGIS_ShapeArc shape related to the event
_type Integer classification kind of link; number 0..255 which meaning is user dependent
2019/02/07 01:15

Page Tools