User Tools

Site Tools


api:dk11:activex:tatukgis_xdk11.itgis_editor.findsnappoint_itpoint_itgis_point_tgis_editorsnapresulttype

Table of Contents

ITGIS_Editor.FindSnapPoint method

DK11 for ActiveX | TatukGIS_XDK11.ITGIS_Editor.FindSnapPoint | Methods | Properties

Find a snap point based on a snap type from snap-to layers.

Available also on: Delphi | .NET | Java.

Syntax

// C#
public WordBool FindSnapPoint(
  ITPoint _pt,
  ref ITGIS_Point _ptg,
  ref TGIS_EditorSnapResultType _snapType
);
' VisualBasic
Public Function FindSnapPoint(
  ByVal _pt As ITPoint,
  ByRef _ptg As ITGIS_Point,
  ByRef _snapType As TGIS_EditorSnapResultType
) As WordBool
// Oxygene
public
  function FindSnapPoint(
    _pt : ITPoint;
    var _ptg : ITGIS_Point;
    var _snapType : TGIS_EditorSnapResultType
  ) : WordBool;

Parameters

Name Type Description
_pt ITPoint Mouse position
_ptg ITGIS_Point found snap point coordinates
_snapType TGIS_EditorSnapResultType found type of snap point (vertex, edge, intersection, midpoint )

Result

Type Description
WordBool True if any snap point was found
2020/09/22 01:03

Page Tools