Maptitude GISDK Help

CreateConvexHullDB()

Summary

Creates an area geographic file that encloses all of the points in a TIN.

 

Syntax

CreateConvexHullDB(tin t, string db_name, array options)

 

Argument Contents
t A TIN
db_name The name of the output geographic file

 

Option Type Contents
Layer Name String The name for the new layer
Label String The label for the new layer

 

Example

// Open Elevdata.cdf in the Tutorial folder

SetLayer("Elevation Layer")

point_tin = CreateTriangulation("Elevation Layer|", {{"Field","Elevation"}})

folder = RunMacro("G30 Tutorial Folder")

CreateConvexHullDB(point_tin, folder + "myconvexhull.dbd",

{{"Layer Name","Convex Hull"}}) 

 

Error Codes

Error Type Meaning
Error The TIN compound variable is null, or the options are not of the required type

 

See Also

Function Summary
CreateHullDB() Creates an area or a line DBD database based on a TIN
CreateTriangulation() Creates a Triangulated Irregular Network (TIN)
CreateTriangulationAreaDB() Creates an area geographic file from the facets in a TIN, with slope and aspect values

 

 

©2025 Caliper Corporation www.caliper.com