Maptitude GISDK Help

EstimateElevation()

Summary

Calculates a spot elevation using a TIN.

 

Syntax

spot_height = EstimateElevation(tin t, coord point)

 

Argument Contents
t A TIN
point A coord

 

Returns

A real value for the spot elevation.

 

Notes

 

Example

SetLayer("Airports")

airport_tin = CreateTriangulation("Airports|", {{"Field","Altitude"}})

spot_height = EstimateElevation(tin t, coord point)

ShowMessage("The spot height is " + String(spot_height))

 

Error Codes

Error Type Meaning
Error The TIN compound variable is null

 

See Also

Function Summary
CreateTriangulation() Creates a Triangulated Irregular Network (TIN)
TINElevations() Gets the scope for a TIN
EstimateElevation() Gets the minimum and maximum elevations in a TIN

 

 

©2025 Caliper Corporation www.caliper.com