|
本帖最后由 zhaoqiansun12 于 2012-3-21 20:23 编辑
! g+ S9 y0 C; k0 U c: D |
4 D- k8 M/ o' K8 E" B2 P! Bextern UFUNEXPORT int UF_CURVE_intersect
' k( E; O- z/ I" a(
/ O9 _" g& F4 q% { e$ Q tag_t curve, /* <I> object id of the curve or edge */
- \0 R' B% `9 _/ H8 T* r tag_t entity, /* <I> object id of the curve, edge, face,
9 F# F/ y! R7 Q single face body, plane or datum plane */8 e z! T g3 H" \3 O8 g l; C$ E
double ref_point[3], /* <I> reference point to select from
& ^9 D8 G2 s2 z1 N3 @ d multiple intersections, intersection closest
( z1 r; J; Y* D, H8 R) Q6 c* Q to this point will be output */- T7 ~+ i- ?9 l# m
UF_CURVE_intersect_info_p_t out_info /* <O> - intersection information */) N9 d4 l& Z. _5 R
);
- U( s. ?9 n" {
& Z) e5 X. O1 m; ~, m8 r; D7 M) [$ x& e+ L
请问这个求2曲线的交点的函数
5 g9 {$ i) E4 {9 K5 |, O1 w0 I第三个输入参数是啥意思?- i, L Q2 p+ w" ^; h
真的看不懂,
% U g6 C* P8 u. y' B- s2 X! v帮我指导下吧* W9 F* N! b1 c3 L0 \! c, G0 u
还有就是第四个是输出参数输出的是个结构体指针,那如果想求交点的坐标,用什么语句求交点的坐标?
# d$ j& U6 W3 `5 a- @: @ |
|