使用中望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