- UID
- 2
- 积分
- 8682
- 帖子
- 2905
- 主题
- 199
- 论坛币
- 11260
- 威望
- 16
- EP值
- 2348
- MP值
- 15
- 阅读权限
- 200
- 注册时间
- 2011-8-3
- 在线时间
- 2597 小时
- 最后登录
- 2024-2-26
![Rank: 7](static/image/common/star_level3.gif) ![Rank: 7](static/image/common/star_level2.gif) ![Rank: 7](static/image/common/star_level1.gif)
|
What's in TCAS_BUF
it's a python list, which has the following structure (according to the pseudo-code).- pixDip = PyTuple_New(7);
- PyTuple_SET_ITEM(pixDip, 0, PyLong_FromLong(start));
- PyTuple_SET_ITEM(pixDip, 1, PyLong_FromLong(end));
- PyTuple_SET_ITEM(pixDip, 2, PyLong_FromUnsignedLong(layer_type_pair));
- PyTuple_SET_ITEM(pixDip, 3, PyLong_FromLong(posX));
- PyTuple_SET_ITEM(pixDip, 4, PyLong_FromLong(posY));
- PyTuple_SET_ITEM(pixDip, 5, PyLong_FromLong(color));
- PyTuple_SET_ITEM(pixDip, 6, PyLong_FromLong(alpha));
- PyList_Append(tcasList, pixDip);
- Py_CLEAR(pixDip);
复制代码 [(start, end, ltp, posX, posY, color, alpha), ...]
|
|