马上注册,结交更多同行朋友,交流,分享,学习。
您需要 登录 才可以下载或查看,没有帐号?注册
x
extern UFUNEXPORT void FTN(uf5947)(
const double *rp1, /* <I>
Defined Transformation Matrix. This must be
a 16 element array. This array should be
initialized using the functions uf5942-uf5946
to produce the required transformation.
*/
const tag_t *np2, /* <I>
Array of object identifiers.
*/
const int *ip3, /* <I>
Number of objects in np2 array.
*/
const int *ip4, /* <I>
Move/Copy Status
1 - Move
2 - copy.
*/
const int *ip5, /* <I>
Destination Layer,
0 - the original layer,
-1 - the work layer
1 - 256 - the specified layer
*/
const int *ip6, /* <I>
Trace Curve Status, 1 means on, 2 means off.
*/
tag_t *nr7, /* <O>
List of copied object identifiers. This is
not used when ip4 = 1. When ip4 is 2, this must
be dimensioned by the caller as large enough to
contain the same number of objects that are in np2.
*/
tag_t *nr8, /* <O>
Group of trace curves. This is not used when
ip6 is set to 2.
*/
int *ir9 /* <O>
Status Code
0 - Success
1 - Too Many Or Too Few Entities To
Transform
2 - Invalid Parameter
3 - Invalid Object (Not Alive Or Not
Transformable)
4 - Shear Matrix With Non-shearable
Objects In The List
5 - Modeling update error
6 - Error adding modeling data to copied solid
7 - Cannot scale parametric solid
8 - Transformation is unsuitable for the object
9 - Cannot scale developed curve
10 - Cannot mirror solid
11 - Cannot transform occurrence
12 - Cannot transform sketches or sketch curves
*/
);
上面这个fucntion中np2是一个tag_t的数组的指针,但是事先并不知道有多少个实体,数组成动态的了,怎么弄啊,同志们? |