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 facetted.
 
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 ME MD 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.


Send comments on this topic.

Click to return to www.cadcorp.com

© Copyright 2000-2017 Computer Aided Development Corporation Limited (Cadcorp).