cote1(2) = -Radius;
}
IntRes2d_Domain D1(ElCLib::Value(0.,OnCirc), 0.,Tol,
- ElCLib::Value(2.*PI,OnCirc),2.*PI,Tol);
- D1.SetEquivalentParameters(0.,2.*PI);
+ ElCLib::Value(2.*M_PI,OnCirc),2.*M_PI,Tol);
+ D1.SetEquivalentParameters(0.,2.*M_PI);
TheIntConicCurve Intp;
for (Standard_Integer jcote1 = 1 ; jcote1 <= nbrcote1 ; jcote1++) {
Handle(TheHParGenCurve) HCu1 = new TheHParGenCurve(Cu1);
for (Standard_Integer jcote1 = 1 ; jcote1 <= nbrcote1 ; jcote1++) {
gp_Circ2d Circ(C1.XAxis(),R1 + cote1(jcote1));
IntRes2d_Domain D1(ElCLib::Value(0.,Circ), 0.,Tol,
- ElCLib::Value(2.*PI,Circ),2.*PI,Tol);
- D1.SetEquivalentParameters(0.,2.*PI);
+ ElCLib::Value(2.*M_PI,Circ),2.*M_PI,Tol);
+ D1.SetEquivalentParameters(0.,2.*M_PI);
firstparam = Max(TheTool::FirstParameter(OnCurv),thefirst);
lastparam = Min(TheTool::LastParameter(OnCurv),thelast);
IntRes2d_Domain D2(TheTool::Value(OnCurv,firstparam),firstparam,Tol,
// gp_Dir2d Dir(-y1dir,x1dir);
gp_Circ2d Circ(gp_Ax2d(Point1,gp_Dir2d(1.,0.)),Radius);
IntRes2d_Domain D1(ElCLib::Value(0.,Circ), 0.,Tol,
- ElCLib::Value(2.*PI,Circ),2*PI,Tol);
- D1.SetEquivalentParameters(0.,2.*PI);
+ ElCLib::Value(2.*M_PI,Circ),2*M_PI,Tol);
+ D1.SetEquivalentParameters(0.,2.*M_PI);
firstparam = Max(TheTool::FirstParameter(OnCurv),thefirst);
lastparam = Min(TheTool::LastParameter(OnCurv),thelast);
IntRes2d_Domain D2(TheTool::Value(OnCurv,firstparam),firstparam,Tol,