-// Copyright (C) 2014-2020 CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021 CEA/DEN, EDF R&D
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
//#include <Events_Listener.h>
#include <ModelAPI_AttributeDouble.h>
+#include <PrsDim_Dimension.hxx>
#include "SketcherPrs_Tools.h"
/// Visualizes the dimension text or dimension value depending on the has parameters state
/// \param theDimension a modified dimension
/// \param theDimensionValue container filled by the model double attribute
- Standard_EXPORT void updateDimensions(AIS_Dimension* theDimension,
+ Standard_EXPORT void updateDimensions(PrsDim_Dimension* theDimension,
const DimensionValue& theDimensionValue);
private:
/// \param theHasParameters if true, the text is shown, else digit
/// \param theTextValue a dimension text value
/// \param theDoubleValue a dimension digit value
- void updateDimensions(AIS_Dimension* theDimension,
+ void updateDimensions(PrsDim_Dimension* theDimension,
const bool theHasParameters,
const std::string& theTextValue,
const double theDoubleValue);