User Tools

Site Tools


api:dk11:net:tatukgis.ndk.tgis_shape.getsnappoint3d_tgis_point3d_double_double

Table of Contents

TGIS_Shape.GetSnapPoint3D method

DK11 for .NET | TatukGIS.NDK.TGIS_Shape.GetSnapPoint3D | Constructors | Fields | Methods | Properties

Retrieving a snap point in 3D.

Available also on: Delphi | Java | ActiveX.

Syntax

// C#
public TGIS_Point3D GetSnapPoint3D(
  TGIS_Point3D _ptg,
  double _prec,
  ref double _dist
);
' VisualBasic
Public Function GetSnapPoint3D(
  ByVal _ptg As TGIS_Point3D,
  ByVal _prec As Double,
  ByRef _dist As Double
) As TGIS_Point3D
// Oxygene
public
  function GetSnapPoint3D(
    _ptg : TGIS_Point3D;
    _prec : Double;
    var _dist : Double
  ) : TGIS_Point3D; virtual;

Parameters

Name Type Description
_ptg TGIS_Point3D point for which we are seeking a snap point ;
_prec double
Double
snapping precision; only points closer to _ptg then _prec can be found ;
_dist double
Double
achieved precision

Result

Type Description
TGIS_Point3D Found snap point. If such point cannot be localized then same as _ptg.

Remarks

Snap point is the best point in the shape for which we can perform snapping.

2020/05/07 01:18

Page Tools