Ets_Slice_For_Shapeset_Create()

Note: Requires OPNET Development Kit

Abstract

Creates a new slice for holding a shapeset.

Syntax

Ets_Slice_For_Shapeset_Create (shapeset_hndl, x_origin, y_origin)
Argument Type Description
shapeset_hndl EtsT_Obj_Handle Handle to the shapeset model to be included in the new slice.
x_origin double X coordinate of the origin for the shapeset.
y_origin double Y coordinate of the origin for the shapeset.

Return Type

EtsT_Slice_Handle

Handle to the new slice.

ets_api_nt.h

Details

This function creates a new slice that contains the specified shapeset model. The model must have been previously created using Ets_Shapeset_Model_Create().

The x_origin and y_origin arguments are the offset of the top-left corner of the slice content, in subnet coordinates. If the shapeset model uses the global coordinate system (latitude-longitude), the x_origin and y_origin are ignored and the shapeset's internal coordinates are used to place the shapeset in the appropriate position.

本站文档由 北京智网畅联科技有限公司 整理、翻译并提供 · 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