Ets_Shapeset_Shape_Nth_Insert()

**注意:**需要 OPNET Development Kit

摘要

在指定索引处向 shapeset 中插入一个形状。

语法

Ets_Shapeset_Shape_Nth_Insert (shapeset_mdl_hndl, shape_hndl, insert_at_index)
参数 类型 说明
shapeset_mdl_hndl EtsT_Model_Handle 目标 shapeset 的句柄。
shape_hndl EtsT_Shape_Handle 待插入形状的句柄。
insert_at_index unsigned int 插入形状所在位置的索引。

返回类型

EtsT_Compcode

EtsC_Compcode_Success 或 EtsC_Compcode_Failure。

头文件

ets_api_shapeset.h

详情

此函数在指定位置向 shapeset 中插入一个新形状。shapeset 将接管该形状的所有权。

**注意:**shapeset 中的所有形状必须使用相同的坐标系单位。

本站文档由 北京智网畅联科技有限公司 整理、翻译并提供 · Documentation compiled and provided by Beijing ZNetLink Technology Co., Ltd.

交流群 · QQ Group:OPNET/智网妙算网络仿真交流群(群号 486383494)

原文档 © 2017 Riverbed Technology · 本站为公益翻译,由 AI 辅助完成,请仔细甄别

Original documentation © 2017 Riverbed Technology. Community translation, AI-assisted. Contact: jiazequn@znetlink.com