]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Add include file which is needed on Linux
authorvsv <vitaly.smetannikov@opencascade.com>
Fri, 21 Aug 2015 15:15:22 +0000 (18:15 +0300)
committervsv <vitaly.smetannikov@opencascade.com>
Fri, 21 Aug 2015 15:15:22 +0000 (18:15 +0300)
src/SketchPlugin/SketchPlugin_ConstraintAngle.cpp
src/SketcherPrs/SketcherPrs_Angle.cpp

index c0ed698126a53234aec892eb543aacf7f001b239..03c840b270a051812c87d0ca455c8427797d05e8 100644 (file)
@@ -18,6 +18,8 @@
 #include <SketcherPrs_Factory.h>
 #include <SketcherPrs_Tools.h>
 
+#include <math.h>
+
 const double tolerance = 1.e-7;
 #define PI 3.1415926535897932
 
index 085aa754cf5598dd2ad0d98b1813438d3ba40710..fbdb47391fe3885c3dec99c0f85499f4804ef253 100644 (file)
@@ -26,9 +26,6 @@ IMPLEMENT_STANDARD_HANDLE(SketcherPrs_Angle, AIS_AngleDimension);
 IMPLEMENT_STANDARD_RTTIEXT(SketcherPrs_Angle, AIS_AngleDimension);
 
 
-
-
-
 SketcherPrs_Angle::SketcherPrs_Angle(ModelAPI_Feature* theConstraint, 
                                      const std::shared_ptr<GeomAPI_Ax3>& thePlane)
 : AIS_AngleDimension(gp_Pnt(0,0,0), gp_Pnt(1,0,0), gp_Pnt(0,1,0)), myConstraint(theConstraint), myPlane(thePlane)