分享一段求曲面等参数曲线的代码
tag_t Extract_isoCurve(tag_t face,double w,int type){
tag_t* pcurve;
int n=0;
if (!face)
{
uc1601("no face is get",1);
return NULL_TAG;
}
UF_CALL(UF_MODL_create_isocurve(face,type,w,0.001,&pcurve,&n));
if (pcurve)
{
tag_t t1=pcurve;
UF_free(pcurve);
return t1;
}
else
{
uc1601("no spline",1);
return NULL_TAG;
}
}
页:
[1]