各位老师
这个函数第三个参数起什么作用?会跟空间坐标原点/坐标原点Z轴 有什么冲突吗?
mdlElmdscr_copyParallel(MSElementDescrH outDscrPP, MSElementDescrP inDscr, Dpoint3d *point, double distance, double *normal )
第三个参数确定您平行拷贝的方向,如果第四个参数给0的话,则这个点还指定了平行拷贝的距离,这里不存在跟坐标原点或者坐标原点Z轴有什么冲突
Answer Verified By: 超 上官
郭工 第四个参数 double *normal 可否解释一下defines the plane in which the geometry will be offset. If it is set to NULL the unit vector in the z direction will be used. To obtain an offset in a particular view, supply the third row of the view rotation matrix.
double数组吧,描述偏移平面的法向量,比如Z轴 {0,0,1},即在XY平面内做偏移。
在最新的MSCE SDK说明中已经改为DPoint3d *了,就是一个平面的法向。如果在顶视图的平面,就给NULL即可。