X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FFeaturesAPI%2FFeaturesAPI_Measurement.h;h=774f7f98e99b6c12107adef56595aac28202a892;hb=f60dc9dd94d5d4b0ea07e3e3cbfd5b3028f0942d;hp=271201821e777608201cc759a8d1b10d61ba9cd0;hpb=46d76cd07aec0e520d4179139520c36bd7fb5c95;p=modules%2Fshaper.git diff --git a/src/FeaturesAPI/FeaturesAPI_Measurement.h b/src/FeaturesAPI/FeaturesAPI_Measurement.h index 271201821..774f7f98e 100644 --- a/src/FeaturesAPI/FeaturesAPI_Measurement.h +++ b/src/FeaturesAPI/FeaturesAPI_Measurement.h @@ -55,4 +55,12 @@ std::list measureAngle(const std::shared_ptr& thePart const ModelHighAPI_Selection& theFrom, const ModelHighAPI_Selection& theTo); +/// \ingroup CPPHighAPI +/// \brief Calculate angle by 3 points. +FEATURESAPI_EXPORT +double measureAngle(const std::shared_ptr& thePart, + const ModelHighAPI_Selection& thePoint1, + const ModelHighAPI_Selection& thePoint2, + const ModelHighAPI_Selection& thePoint3); + #endif // FeaturesAPI_Measurement_H_