ZW3D 二次开发-创建球体
使用中望3d用户函数 cvxPartSphere 创建球体
函数定义:
ZW_API_C evxErrors cvxPartSphere(svxSphereData *Sphere, int *idShape);
typedef struct svxSphereData
{evxBoolType Combine; /**<@brief combination method */svxPoint Center; /**<@brief sphere center point */double Radius; /**<@brief sphere radius (mm) */vxName ftrName; /**<@brief feature name for "FtAllSph", 0 default */
} svxSphereData;
使用方法:
旧版本接口:
//球体
static evxErrors CreateSphere(svxPoint pnt, double radius, int& id