User Tools

Site Tools


api:dk11:delphi:gisclasses.tgis_editorsnappointevent_tobject_tgis_point3d_double_tgis_point3d_double

Table of Contents

TGIS_EditorSnapPointEvent prototype

DK11 for Delphi | GisClasses.TGIS_EditorSnapPointEvent | Enums | Classes | Prototypes

Event to call a custom snap routine.

Available also on: Python.

Syntax

// Delphi
type
  TGIS_EditorSnapPointEvent = procedure (
    _sender : TObject;
    _ptg : TGIS_Point3D;
    _prec : Double;
    var _proj : TGIS_Point3D;
    var _dist : Double
  ) of object;
// C++ Builder
typedef void (_closure *TGIS_EditorSnapPointEvent)(
  TObject* _sender,
  TGIS_Point3D* _ptg,
  double _prec,
  TGIS_Point3D* &_proj,
  double &_dist
);

Parameters

Name Type Description
_sender TObject who rises the event
_ptg TGIS_Point3D point
_prec Double precision
_proj TGIS_Point3D projected point
_dist Double distance
2024/12/20 22:17

Page Tools