#define PI 3.1415926535897932
+#define COMPILATION_CORRECTION
+
IMPLEMENT_STANDARD_HANDLE(SketcherPrs_Angle, AIS_AngleDimension);
IMPLEMENT_STANDARD_RTTIEXT(SketcherPrs_Angle, AIS_AngleDimension);
double aDist = -1;
switch (anAngleType) {
case SketcherPrs_Tools::ANGLE_DIRECT: {
+#ifndef COMPILATION_CORRECTION
SetArrowVisible(Standard_False/*first*/, Standard_True/*second*/);
+#endif
SetMeasuredGeometry(myFirstPoint, myCenterPoint, mySecondPoint);
+#ifndef COMPILATION_CORRECTION
bool isReversedPlanes = isAnglePlaneReversedToSketchPlane();
SetAngleReversed(!isReversedPlanes);
+#endif
}
break;
case SketcherPrs_Tools::ANGLE_COMPLEMENTARY: {
gp_Pnt aFirstPoint = aCenterPoint.Translated(
gp_Vec(myCenterPoint, myFirstPoint).Normalized() * (-anEdge1Length));
SetMeasuredGeometry(aFirstPoint, myCenterPoint, mySecondPoint);
+#ifndef COMPILATION_CORRECTION
SetAngleReversed(false);
+#endif
}
break;
case SketcherPrs_Tools::ANGLE_BACKWARD: {
+#ifndef COMPILATION_CORRECTION
SetArrowVisible(Standard_False/*first*/, Standard_True/*second*/);
+#endif
SetMeasuredGeometry(myFirstPoint, myCenterPoint, mySecondPoint);
bool isReversedPlanes = isAnglePlaneReversedToSketchPlane();
+#ifndef COMPILATION_CORRECTION
SetAngleReversed(isReversedPlanes);
+#endif
}
break;
default: