青华模具培训学校

 找回密码
 注册

QQ登录

只需一步,快速开始

青华模具培训学院
查看: 2075|回复: 0

[疑难] API求两条空间曲线的交点的函数 UF_CURVE_intersect的输入输出参数解释

[复制链接]
发表于 2012-3-21 20:22 | 显示全部楼层 |阅读模式
本帖最后由 zhaoqiansun12 于 2012-3-21 20:23 编辑 0 j8 Z6 I3 Y0 Z, X3 B% s
8 y! P3 P* K# O8 c' i1 H
extern UFUNEXPORT int UF_CURVE_intersect
2 ^3 p+ ?$ y* g( C(* k( O" w' W( U, W
    tag_t  curve,             /* <I> object id of the curve or edge  */
% S: R! x! B0 V2 z- e6 O* N0 G$ P    tag_t  entity,            /* <I> object id of the curve, edge, face,
8 W8 r) h: ?$ Y5 S2 R3 Q                                 single face body, plane or datum plane */. l0 d9 N5 I- _" Z$ q# h
    double ref_point[3],      /* <I> reference point to select from
4 c' B) ]9 |. \0 X1 c& }                                 multiple intersections, intersection closest/ F2 J' o0 }+ i* B
                                 to this point will be output */
8 h8 M+ I8 t! _" I    UF_CURVE_intersect_info_p_t out_info /* <O> - intersection information */
5 @# A( W2 [+ r4 l: x% V1 Y);1 D( W' w8 n( i

' {9 U. \: R/ L9 g. t( l! s* s6 I! K- y; y
请问这个求2曲线的交点的函数
, X6 q6 j$ r% p2 n4 O第三个输入参数是啥意思?
8 G! i6 ]8 n" c" Y5 @真的看不懂,
9 M5 m2 r, w& W帮我指导下吧9 d- f" F5 X* m! K& }3 `- E3 |- v0 O
还有就是第四个是输出参数输出的是个结构体指针,那如果想求交点的坐标,用什么语句求交点的坐标?
2 V. X0 S0 D. E1 G1 {% r
您需要登录后才可以回帖 登录 | 注册

本版积分规则

QQ|关于我们|sitemap|小黑屋|Archiver|手机版|UG网-UG技术论坛-青华数控模具培训学校 ( 粤ICP备15108561号 )

GMT+8, 2025-9-18 11:47 , Processed in 0.043351 second(s), 19 queries .

Powered by Discuz! X3.5 Licensed

© 2001-2025 Discuz! Team.

快速回复 返回顶部 返回列表