TIN Volume

Running programmatically

Calculates the Volume and 3D Area of a TIN above and below a horizontal reference plane defined by the user specified level. The function analyzes the location of each triangle relatively to the reference plane and calculates its volume and area below and above the plane. The result is the accumulated values for the below and above portions of the triangles stored in a new or existing text file.

Inputs:

Outputs:

Notes:

Example:

Surface: F:\000\Tin\All_tin
Level: 1750
Volume Above: 42772583683.9588
3D Area Above: 445342389.289763
Area Above: 436028382.65616
Volume Below: 1439852576854.33
3D Area Below: 6639971013.40753
Area Below: 6625272985.02436

Running Programmatically

(Go to TOP)

Parameters

Expression Explanation
Function Name TinVolume
<input tin> A String representing the input TIN dataset.
<output file> A String - the full name of the output text file (new or existing).
<level> A Double indicating the level of the reference plane for which the volume calculation will be performed.

Running the function

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

Language Syntax
Python subprocess.call([ETSPath, "TinVolume", "input tin", "output file", "level"])
.NET using ETSRun.exe StartInfo.FileName = ETSPath
StartInfo.Arguments = "TinVolume" "input tin" "output file" "level"
.NET using ETSOutX.dll TinVolume(input tin, output file, level)
ArcPy arcpy.TinVolume("input tin", "output file", "level")

Notes:

(Go to TOP)