X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FSketcherPrs%2FSketcherPrs_Factory.h;h=26430129bb5092d6d2608c90a45dee9f5ad1faa6;hb=06e7f5859095193fc7f498bd89a7d28009794f53;hp=e9413fc091b60315006fda613b3cea952590308c;hpb=6e421e939851e0de46554ae45a3ca0e1f67cd91d;p=modules%2Fshaper.git diff --git a/src/SketcherPrs/SketcherPrs_Factory.h b/src/SketcherPrs/SketcherPrs_Factory.h index e9413fc09..26430129b 100644 --- a/src/SketcherPrs/SketcherPrs_Factory.h +++ b/src/SketcherPrs/SketcherPrs_Factory.h @@ -1,4 +1,4 @@ -// Copyright (C) 2014-2019 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 @@ -118,28 +118,29 @@ public: /// \param thePrevious the previous presentation GET_CONSTRAINT_PRS(coincidentConstraint) -#define GET_CONSTRAINT2_PRS(NAME) \ - static AISObjectPtr NAME(ModelAPI_Feature* theConstraint, \ - const std::shared_ptr& thePlane, \ - AISObjectPtr thePrevious); + /// Creates length dimension presentation + /// \param theConstraint the constraint + /// \param thePlane the current sketch plane + /// \param thePrevious the previous presentation + GET_CONSTRAINT_PRS(lengthDimensionConstraint) /// Creates angle constraint presentation /// \param theConstraint the constraint /// \param thePlane the current sketch plane /// \param thePrevious the previous presentation - GET_CONSTRAINT2_PRS(angleConstraint) + GET_CONSTRAINT_PRS(angleConstraint) - /// Creates length dimension presentation + /// Creates radius dimension presentation /// \param theConstraint the constraint /// \param thePlane the current sketch plane /// \param thePrevious the previous presentation - GET_CONSTRAINT2_PRS(lengthDimensionConstraint) + GET_CONSTRAINT_PRS(radiusConstraint) /// Creates radius dimension presentation /// \param theConstraint the constraint /// \param thePlane the current sketch plane /// \param thePrevious the previous presentation - GET_CONSTRAINT2_PRS(radiusConstraint) + GET_CONSTRAINT_PRS(offsetObject) }; #endif