青华模具培训学校

 找回密码
 注册

QQ登录

只需一步,快速开始

青华模具培训学院
查看: 2321|回复: 2

[原创] 创建相切直线的程序存在问题

[复制链接]
发表于 2009-2-6 20:26 | 显示全部楼层 |阅读模式
主要代码如下 请大家支持下/ k' j: d+ r" d( Q  [  e! a3 ?
UF_CURVE_create_arc(&arc_coords,&arc_id);+ @0 P/ F) z1 ?4 Z7 u5 O
, p# H4 |- h0 O* G* U4 y2 }
% I* t  E1 q, L7 q7 [( r% H
  I. a$ g0 O8 U5 K7 ~% Z
UF_CURVE_create_point (point_coords1,&point1);7 C! s8 C" @& V9 `( ~# i; y
0 W1 L) v$ g' K$ e
UF_CURVE_help_data_p_t help_data_p;& ?2 v+ y  Z7 ?" l* ?* \& `
UF_CURVE_limit_p_t limit_p[2];   4 ~  }2 C' `1 y# h, C
uc1601("1",1);) ?/ I; ?0 i4 i7 K' G
limit_p[0].limit_type = UF_CURVE_limit_value;/* 到这就死了*/
5 }( W; q5 [" @+ _) Vuc1601("2",1);
' `2 h9 D* T$ e& Dlimit_p[1].limit_type = UF_CURVE_limit_value;, F# i: P* K8 G; D2 N1 ~4 m3 @% n
tag_t support_plane; 4 w2 S6 ?, t3 l2 Q

+ X. z6 ]' Y1 E2 }
' ?0 ]' d  g. D, n* L$ ]UF_MODL_create_fixed_dplane(ctr_point, direction, &support_plane);3 i) B, m: g6 K* H
: N% H$ i3 w+ d& y+ N% w* h
logical is_asso=true;' L3 H+ G- ]% \5 {4 R3 G$ F
tag_p_t line_feature_id ;. i! d5 o. g" G" `* F$ G
UF_CURVE_create_line_point_tangent (point1,arc_id,help_data_p,limit_p,support_plane,is_asso,line_feature_id);
发表于 2009-2-8 18:05 | 显示全部楼层
指针没有初始化
发表于 2014-2-7 11:41 | 显示全部楼层
我也是这个函数总是使用不正确
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2025-3-10 15:06 , Processed in 0.056590 second(s), 21 queries .

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

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