Open Table of Contents

ET GeoWizards Scripting

Analyze TIN
(Go to the main page of the function)

Calculates several characteristics (Slope, Aspect, Min & Max Elevation, Mean Elevation, Hillshade values) for each triangle of a TIN (polygonZ)

Syntax    

Dim ET As  New ETGW_Core
Set variable = ET.AnalyzeTIN(pInFeatureClass, sOutFileName, dSunAzimuth, dSunAltitude, sMessage
)

The AnalyzeTIN method syntax has the following object qualifier and arguments:

Part Description
variable An IFeatureClass object
pInFeatureClass Required. An IFeatureClass object (Must be a Polyline feature class)
sOutFileName Required. A String - the full name of the output feature class (A feature class with the same full name should not exist)
dSunAzimuth Optional. A Double representing the azimuth angle of the light source. The azimuth is expressed in positive degrees from 0 to 360, measured clockwise from the north. The default is 315 degrees.
dSunAltitude Optional. A Double representing the altitude angle of the light source above the horizon. The altitude is expressed in positive degrees, with 0 degrees at the horizon and 90 degrees directly overhead. The default is 45 degrees.
sMessage Optional. In a case of failure -  description of the cause. If the functions completes with success an empty string will be returned.

Example