这个ufun方法用来创建面,创建效果图如下:

1、函数结构
int UF_MODL_create_plane
(double origin_point [3],
double plane_normal [3],
tag_t * plane_tag)
2、实例源码
#include <stdio.h>
#include <uf.h>
#include <uf_part.h>
#include <uf_defs.h>
#include <uf_modl.h>
#include <uf_vec.h>
#define UF_CALL(X) (report( __FILE__, __LINE__, #X, (X)))
static int report( char *file, int line, char *call, int irc)
{
if (irc)
{
char messg[133];
printf("%s, line %d: %s\n", file, line, call);
(UF_get_fail_message(irc, messg)) ?
printf(" returned a %d\n", irc) :
printf(" returned error %d: %s\n", irc, messg);
}
return(irc);
}
static void do_ugopen_api(void)
{
char *edge_length[3] = {"5.0", "5.0", "5.0"};
cha

最低0.47元/天 解锁文章
444

被折叠的 条评论
为什么被折叠?



