标题: 怎样求一个二维图形的压力中心呢? [打印本页] 作者: ljbest 时间: 2005-7-21 22:16 标题: 怎样求一个二维图形的压力中心呢? ug有没有专门的函数?还是要通过去他算法?谢谢!!作者: ljbest 时间: 2005-7-21 22:25
或者说就是二维图的中心作者: ljbest 时间: 2005-7-22 00:24
研究了一下,可以用uf_modl_ask_face_data得到,其中的point参数就是作者: jjf1120 时间: 2005-7-22 13:34
兄弟,不会吧,压力中心在UG里应该没有现成的函数;
uf_modl_ask_face_data里的point参数应该不是:
extern int UF_MODL_ask_face_data (
tag_t face,
int * type,
double point[ ],
double dir[ ],
double box[ ],
double * radius,
double * rad_data,
int * norm_dir );
double point[ ] Output Point information is returned according to the value
of type as follows.
Plane = Position in plane
Cylinder= Position on axis
Cone = Position on axis
Sphere = Center position
Torus = Center position
Revolved = Position on axis