User Tools

Site Tools


api:dk11:net:tatukgis.ndk.igis_viewer3d.locate3d_tpoint_integer_tgis_layerabstract_tgis_point3d_tgis_shapeabstract_integer

Table of Contents

IGIS_Viewer3D.Locate3D method

DK11 for .NET | TatukGIS.NDK.IGIS_Viewer3D.Locate3D | Methods | Properties

Select object in 3D

Available also on: Delphi | ActiveX.

Syntax

// C#
public bool Locate3D(
  TPoint _pt,
  int _prec,
  ref TGIS_LayerAbstract _layer,
  ref TGIS_Point3D _ptg,
  ref TGIS_ShapeAbstract _shp,
  ref int _part
);
' VisualBasic
Public Function Locate3D(
  ByVal _pt As TPoint,
  ByVal _prec As Integer,
  ByRef _layer As TGIS_LayerAbstract,
  ByRef _ptg As TGIS_Point3D,
  ByRef _shp As TGIS_ShapeAbstract,
  ByRef _part As Integer
) As Boolean
// Oxygene
public
  function Locate3D(
    _pt : TPoint;
    _prec : Integer;
    var _layer : TGIS_LayerAbstract;
    var _ptg : TGIS_Point3D;
    var _shp : TGIS_ShapeAbstract;
    var _part : Integer
  ) : Boolean;

Parameters

Name Type Description
_pt TPoint screen coordinate
_prec int
Integer
precision in pixels (must be >= 0)
_layer TGIS_LayerAbstract input : layer to be searched, if nil all layers will be searched output : layer contained located object, if nil no object located
_ptg TGIS_Point3D hitting point
_shp TGIS_ShapeAbstract located shape or nil
_part int
Integer
located shape part number

Result

Type Description
bool
Boolean
True if shape was found
2019/06/26 01:16