All Cadcorp SIS API Methods

FacetGeometry Method

Description

Replaces curved geometry segments with shorter straight segments.

Syntax

Visual Basic
Public Function FacetGeometry( _
   ByVal list As String, _
   ByVal tolerance As Double _
) As Integer

Parameters

list
The Named List containing the Items to be faceted.
 
tolerance
The maximum distance allowed between the original curve and the new facet. The smaller the number used, the greater the number of segments.

Remarks

Available: GEO OD SISpy

Groups:

Example

sis.FacetGeometry ("Roads",10)

All curved LineString items and curved polygon boundaries of items in the Roads named list will be facetted into straight segments. The maximum deviation from the original curve will be 10 metres.