All Cadcorp SIS API Methods

TopoEdgeFill Method

Description

Creates a Named Seed object by following the current open Link item to make a closed loop.

Syntax

Visual Basic
Public Function TopoEdgeFill( _
   ByVal seed As String, _
   ByVal bForwards As Integer, _
   ByVal filter As String _
) As Integer

Parameters

seed
The new Named Seed object, which will be a TopoPolygon item.
 
bForwards

True    Follow the current open Link item from the start node to the end node.
False    Follow the current open Link item from the end node to the start node.
 
filter
Optionally specifies a named Filter which all Link Items must pass to be considered as part of the TopoPolygon.

Return Type

True on success, False on failure.

Remarks

The Link following algorithm always turns left at a Node. Therefore this method will always return an anti-clockwise TopoPolygon. The exception to this is if the current Link item is an edge Link. In this case one value of bForwards will return a clockwise perimeter TopoPolygon, and the other will return an anti-clockwise TopoPolygon.

Available: GEO D OD SISpy

Group:

Example

sis.TopoEdgeFill ("Stevenage", True, "CountyBoundary")