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.
Header
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.