User Tools

Site Tools


Table of Contents

TGIS_LayerVector.cursorFirst method

DK11 for .NET | TatukGIS.NDK.TGIS_LayerVector.cursorFirst | Constructors | Fields | Methods | Properties | Events

Move to the first shape in the cursor.

Available also on: Delphi | Java.


// C#
protected void cursorFirst(
  int _cursor,
  bool _viewerCS,
  TGIS_Extent _extent,
  string _query,
  TGIS_Shape _shape,
  string _de9im,
  bool _skipDeleted
' VisualBasic
Protected Sub cursorFirst(
  ByVal _cursor As Integer,
  ByVal _viewerCS As Boolean,
  ByVal _extent As TGIS_Extent,
  ByVal _query As String,
  ByVal _shape As TGIS_Shape,
  ByVal _de9im As String,
  ByVal _skipDeleted As Boolean
// Oxygene
  procedure cursorFirst(
    _cursor : Integer;
    _viewerCS : Boolean;
    _extent : TGIS_Extent;
    _query : String;
    _shape : TGIS_Shape;
    _de9im : String;
    _skipDeleted : Boolean
  ); virtual;


Name Type Description
_cursor int
cursor identifier (see TGIS_LayerVector.cursorOpen)
_viewerCS bool
if True an the layer has been attached to the Viewer then expected _extent units are in a Viewer coordinate space; otherwise expected _extent units are in a Layer coordinate space
_extent TGIS_Extent extent of item to be found
_query string
query which must be matched by item; closely mimics SQL WHERE clause; for examples you can use 'AGE >= 18'; empty (default) means that no all items will match.
_shape TGIS_Shape if not nil, then only shapes matched _de9im matrix with _shape will be found
_de9im string
DE-9IM matrix of comparison
_skipDeleted bool
set a skip deleted treatment; by default deleted items will be ignored


Override this method in inherited class to provide your own layer traversing method.

2020/05/07 01:18