Triangulate Polygons

Running programmatically

Produces a new polygon layer with only triangular polygons. Each polygon from the input layer is represented as a set of triangles. If the input does not have overlapping polygons, the output will not have overlapping triangles.

Inputs:

Outputs:

Examples:

Input Layer

Input Layer

Result

Triangulated Polygons

Running Programmatically

(Go to TOP)

Parameters

Expression Explanation
Function Name TriangulatePolygons
<input dataset> A String representing the input layer. Must be of Polygon type.
<output dataset> A String - the full name of the output layer.

Running the function

ETGWPath used in the table below is the full path to ETGWRun.exe (E.G. "C:\Program Files\ETSpatial Techniques\ETGeo Wizards\ETGWRun.exe")

Language Syntax
Python subprocess.call([ETGWPath, "TriangulatePolygons", "input dataset", "output dataset"])
.NET using ETGWRun.exe StartInfo.FileName = ETGWPath
StartInfo.Arguments = "TriangulatePolygons" "input dataset" "output dataset"
.NET using ETGWOutX.dll TriangulatePolygons(input dataset, output dataset)
ArcPy arcpy.TriangulatePolygons(input dataset, "output dataset")

Notes:

(Go to TOP)