// gp_Circ2d C;
C.SetRadius(ISize);
C.SetLocation(pt);
- Draw(C, 0, 2*PI, Standard_False);
+ Draw(C, 0, 2*M_PI, Standard_False);
break;
#ifndef DEB
default:
// if the circus is too small, a "plus" is drawn to mark the point
Standard_Boolean b = (R * Zoom()) > 2;
if(b)
- Draw(C, 0, 2*PI);
+ Draw(C, 0, 2*M_PI);
else
DrawMarker(pt, Draw_Plus);
}
const Standard_Boolean ModifyWithZoom)
{
Standard_Real A2 = A3;
- while (A2 < A1) A2 += 2*PI;
+ while (A2 < A1) A2 += 2*M_PI;
Standard_Real angle = DEFLECTION / (C.Radius() * Zoom());
Standard_Integer n = (Standard_Integer )( (A2 - A1) / angle);
const Standard_Boolean ModifyWithZoom)
{
Standard_Real A2 = A3;
- while (A2 < A1) A2 += 2*PI;
+ while (A2 < A1) A2 += 2*M_PI;
Standard_Real angle = DEFLECTION / (C.Radius() * Zoom());
Standard_Integer n = (Standard_Integer )( (A2 - A1) / angle);