马上注册登录,享用更多网站功能!
您需要 登录 才可以下载或查看,没有帐号?立即注册
x
CATGeoFactory* tmpFactory= MyNeedMuxian3[1]->GetContainer();
CATTopData* tmpParallelToolTopData=new CATTopData();
CATSoftwareConfiguration *tmpParallelToolConf=new CATSoftwareConfiguration ();
tmpParallelToolTopData->SetSoftwareConfiguration(tmpParallelToolConf);
double *tmpCoff=new double[1];
tmpCoff[0]=1.5;
CATMathPolynomX * tmpMathPFuntion=new CATMathPolynomX(0,tmpCoff);
cout<<"tmpMathPFuntion success"<<endl;
const CATMathFunctionX** tmpFuntion=new const CATMathFunctionX*[1];
tmpFuntion[0]=tmpMathPFuntion;
cout<<"tmpFuntion success"<<endl;
double* iBorders =new double[2];
iBorders[0]=0;
iBorders[1]=1;
CATCompositeLaw *tmpComLaw= tmpFactory->CreateCompositeLaw(1,iBorders,tmpFuntion);
cout<<"CATCompositeLaw success"<<endl;
CATDistanceTool * tmpDistanceTool=ATCreateTopEuclidianDistanceTool(tmpFactory,tmpParallelToolTopData,CATOrientationPositive,tmpComLaw);
cout<<"CATDistanceTool success"<<endl;
CATIGeometricalElement *pGeomEltOnCurFeatJoin3Feat = 0;
rc = CATBodyListOfJoin[3]->QueryInterface(IID_CATIGeometricalElement,
(void**)[$pGeomEltOnCurFeatJoin3Feat)]
CATBody_var Join3FeatResultBody = pGeomEltOnCurFeatJoin3Feat->GetBodyResult();
CATBody* tmpJoin3FeatpCATBody=0;
rc=Join3FeatResultBody->QueryInterface(IID_CATBody,(void**)[$tmpJoin3FeatpCATBody)]
CATExtrapolParallelTool *tmpParallelTool=reateExtrapolParallelTool (tmpFactory,tmpParallelToolTopData,tmpDistanceTool,tmpJoin3FeatpCATBody);
cout<<"CATExtrapolParallelTool success"<<endl;
CATBody* piTotalWireBody=MyNeedMuxian3[15];
CATTopParallel * tmpTopParallel=ATCreateTopParallel (tmpParallelTool,piTotalWireBody);
cout<<"CATTopParallel success"<<endl;
tmpTopParallel->Run();
cout<<"tmpTopParallel success"<<endl;
CATBody* TheOneBody=tmpTopParallel->GetResult();
cout<<"TheOneBody success"<<endl;
CATBodyListOfJoin[3]是曲面的特征;
MyNeedMuxian3是曲面上一些线的数组;
现在我想做MyNeedMuxian3中一些线的parallel,
这个程序在
cout<<"CATTopParallel success"<<endl;
后面出错,是TopOperator Internal ERROR!
急切等大虾们指点 |