-// Copyright (C) 2014-2020 CEA/DEN, EDF R&D
+// Copyright (C) 2014-2024 CEA, EDF
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
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),
// 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,
}
}
SetSelToleranceForText2d(SketcherPrs_Tools::getArrowSize()/5.);
- AIS_LengthDimension::ComputeSelection(aSelection, aMode);
+ PrsDim_LengthDimension::ComputeSelection(aSelection, aMode);
}
void SketcherPrs_LengthDimension::setDirection(ModelAPI_Feature* theConstraint,