All Cadcorp SIS API Methods

ChangeLocusTestMode Method

Description

Modifies the testing mode of a named Spatial Filter

Syntax

Visual Basic
Public Function ChangeLocusTestMode( _
   ByVal locus As String, _
   ByVal geomTest As Integer, _
   ByVal geomMode As Integer _
) As Integer

Parameters

locus
The named Spatial Filter whose test mode is to be modified.

geomTest

The geometry test to use:

SIS_GT_EQUAL
SIS_GT_DISJOINT 
SIS_GT_INTERSECT
SIS_GT_TOUCH
SIS_GT_CROSS 
SIS_GT_CROSSBY 
SIS_GT_WITHIN
SIS_GT_CONTAIN
SIS_GT_OVERLAP
  

See Geometry Tests for details.

geomMode

The geometry mode to use:

SIS_GM_ORIGIN   

items whose origin (always a single point) must pass the testing method with the selected item.

SIS_GM_EXTENTS   

items whose extents (always a rectangle) must pass the testing method with the selected item.

SIS_GM_GEOMETRY

items whose geometry must pass the testing method with the selected item.

Remarks

Available: GEO D OD OM SISpy

Group:

Example

sis.ChangeLocusTestMode ("Scheme20" , SIS_GT_CONTAIN, SIS_GM_GEOMETRY)