TINElevations()

Summary

Gets the minimum and maximum elevations in a TIN.

Syntax

minmax = TINElevations(tin t)

Argument Contents
t A TIN

Returns

An array of 2 elements:

Element Type Contents
1 Real Minimum elevation
2 Real Maximum elevation

Example

SetLayer("Airports")
airport_tin = CreateTriangulation("Airports|", {{"Field","Altitude"}})
minmax = TINElevations(tin t)
ShowArray(minmax)

Error Codes

Error Type Meaning
Error The TIN compound variable is null

See Also

Function Summary
CreateTriangulation() Creates a Triangulated Irregular Network (TIN)
TINScope() Gets the scope for a TIN
EstimateElevation() Calculates a spot elevation using a TIN