Salome HOME
updated copyright message
[modules/shaper.git] / src / SketcherPrs / SketcherPrs_LengthDimension.cpp
index b2cabccc3af7a23f293ae7b5443d47dec5bbf619..f81fe13c244851c82ad2a2f4e4926b6285eaf630 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2023  CEA, EDF
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
@@ -40,7 +40,6 @@
 #include <ModelAPI_AttributeDouble.h>
 #include <ModelAPI_AttributeInteger.h>
 
-#include <AIS_DisplaySpecialSymbol.hxx>
 
 #define OCCT_28850_FIXED
 
@@ -106,11 +105,11 @@ static const gp_Pnt MyDefStart(0,0,0);
 static const gp_Pnt MyDefEnd(1,0,0);
 static const gp_Pln MyDefPln(gp_Pnt(0,0,0), gp_Dir(0,0,1));
 
-IMPLEMENT_STANDARD_RTTIEXT(SketcherPrs_LengthDimension, AIS_LengthDimension);
+IMPLEMENT_STANDARD_RTTIEXT(SketcherPrs_LengthDimension, PrsDim_LengthDimension);
 
 SketcherPrs_LengthDimension::SketcherPrs_LengthDimension(ModelAPI_Feature* theConstraint,
   SketchPlugin_Sketch* theSketcher)
-: AIS_LengthDimension(MyDefStart, MyDefEnd, MyDefPln),
+: PrsDim_LengthDimension(MyDefStart, MyDefEnd, MyDefPln),
   myConstraint(theConstraint),
   mySketcher(theSketcher),
   myFirstPoint(MyDefStart),
@@ -228,7 +227,7 @@ void SketcherPrs_LengthDimension::Compute(
   // Update text visualization: parameter value or parameter text
   myStyleListener->updateDimensions(this, myValue);
 
-  AIS_LengthDimension::Compute(thePresentationManager, thePresentation, theMode);
+  PrsDim_LengthDimension::Compute(thePresentationManager, thePresentation, theMode);
 
   if (!aReadyToDisplay)
     SketcherPrs_Tools::sendEmptyPresentationError(myConstraint,
@@ -337,7 +336,7 @@ void SketcherPrs_LengthDimension::ComputeSelection(const Handle(SelectMgr_Select
   }
   }
   SetSelToleranceForText2d(SketcherPrs_Tools::getArrowSize()/5.);
-  AIS_LengthDimension::ComputeSelection(aSelection, aMode);
+  PrsDim_LengthDimension::ComputeSelection(aSelection, aMode);
 }
 
 void SketcherPrs_LengthDimension::setDirection(ModelAPI_Feature* theConstraint,