在两个 TIN 间拉伸 (3D Analyst)

摘要

通过在两个不规则三角网 (TIN) 数据集间拉伸各输入要素创建 3D 要素。

插图

ExtrudeBetween illustration

用法

语法

ExtrudeBetween_3d (in_tin1, in_tin2, in_feature_class, out_feature_class)
参数说明数据类型
in_tin1

第一个输入 TIN。

TIN Layer
in_tin2

第二个输入 TIN。

TIN Layer
in_feature_class

将在 TIN 之间拉伸的要素。

Feature Layer
out_feature_class

将存储拉伸后的要素输出。

Feature Class

代码示例

在两个 TIN 间拉伸 (ExtrudeBetween) 示例 1(Python 窗口)

The following sample demonstrates the use of this tool in the Python window:

import arcpy
from arcpy import env

arcpy.CheckOutExtension("3D")
env.workspace = "C:/data"
arcpy.ExtrudeBetween_3d("tin1", "tin2", "study_area.shp", "extrusion.shp")
在两个 TIN 间拉伸 (ExtrudeBetween) 示例 2(独立脚本)

The following sample demonstrates the use of this tool in a stand-alone Python script:

'''****************************************************************************
Name: ExtrudeBetween Example
Description: This script demonstrates how to use the 
             ExtrudeBetween tool.
****************************************************************************'''

# Import system modules
import arcpy
from arcpy import env

arcpy.CheckOutExtension("3D")

# Set environment settings
env.workspace = "C:/data"

# Set Local Variables
inTIN1 = "ceiling"
inTIN2 = "floor"
inPoly = "study_area.shp"
# Ensure output has a unique name
outMP = arcpy.CreateUniqueName("extrusion.shp")

#Execute ExtrudeBetween
arcpy.ExtrudeBetween_3d(inTIN1, inTIN2, inPoly, outMP)

环境

相关主题

许可信息

ArcView: 需要 3D Analyst
ArcEditor: 需要 3D Analyst
ArcInfo: 需要 3D Analyst

7/10/2012