iCAx开思工具箱

标题: 这个错误在哪里?? [打印本页]

作者: Xu27_2001    时间: 2005-5-25 07:37
标题: 这个错误在哪里??
int  curr_part=0,count=0,type;  double a[1000][3];  tag_t part,point;
part=UF_PART_ask_nth_part(curr_part);
type=UF_poit_type;     point=NULL;
//遍历起点NULL
UF_OBJ_cycle_obj_in_part(part,type,[$point)]
//遍历终点NULL
while(point!=NULL)
{  UF_OBJ_cycle_obj_in_part(part,type,[$point)]
    UF_CURVE_ask_point_data(point,point_coords);
       for(i=0;i<3;i++)  
      { a[count]=point_coords;}
}错误象是不能循环。得不到数组任意的值
作者: Xu27_2001    时间: 2005-5-25 07:50
还赋有  double point_coords[3];
作者: zzz    时间: 2005-5-25 11:18
Xu27_2001 wrote:
int  curr_part=0,count=0,type;  double a[1000][3];  tag_t part,point;  
  part=UF_PART_ask_nth_part(curr_part);  
  type=UF_poit_type;     point=NULL;  
  //遍历起点NULL  
  UF_OBJ_cycle_obj_in_part(part,type,[$point)]  
  //遍历终点NULL  
  while(point!=NULL)  
  {  UF_OBJ_cycle_obj_in_part(part,type,[$point)]  
      UF_CURVE_ask_point_data(point,point_coords);  
         for(i=0;i<3;i++)   
        { a[count]=point_coords;}  
  }错误象是不能循环。得不到数组任意的值

  
你的part里面没有点吧
作者: Xu27_2001    时间: 2005-5-27 15:15
对不起找到了,错在COUNT没循环。
作者: Xu27_2001    时间: 2005-5-27 15:18
再请教一下:
  
怎样从实体遍历出线?(用子类型吗?如何用子类型)  
  
再怎样查得直线的端点坐标值??其值怎样赋给一个数组或别的什么??  
  
这些函数具体用法是什么??  
  
谢谢!!!!!!!!!!!




欢迎光临 iCAx开思工具箱 (https://t.icax.org/) Powered by Discuz! X3.3