-// Copyright (C) 2018-20xx CEA/DEN, EDF R&D
+// Copyright (C) 2018-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
//
// You should have received a copy of the GNU Lesser General Public
// License along with this library; if not, write to the Free Software
-// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
//
-// See http://www.salome-platform.org/ or
-// email : webmaster.salome@opencascade.com<mailto:webmaster.salome@opencascade.com>
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
//
#ifndef FeaturesAPI_Measurement_H_
const ModelHighAPI_Selection& theTo);
/// \ingroup CPPHighAPI
-/// \brief Calculate radius of circular.
+/// \brief Calculate radius of circular edge, cylindrical surface or sphere.
FEATURESAPI_EXPORT
double measureRadius(const std::shared_ptr<ModelAPI_Document>& thePart,
const ModelHighAPI_Selection& theObject);
const ModelHighAPI_Selection& theFrom,
const ModelHighAPI_Selection& theTo);
+/// \ingroup CPPHighAPI
+/// \brief Calculate angle by 3 points.
+FEATURESAPI_EXPORT
+double measureAngle(const std::shared_ptr<ModelAPI_Document>& thePart,
+ const ModelHighAPI_Selection& thePoint1,
+ const ModelHighAPI_Selection& thePoint2,
+ const ModelHighAPI_Selection& thePoint3);
+
+/// \ingroup CPPHighAPI
+/// \brief Calculate maximum of all distances between objects.
+FEATURESAPI_EXPORT
+double shapeProximity(const std::shared_ptr<ModelAPI_Document>& thePart,
+ const ModelHighAPI_Selection& theFrom,
+ const ModelHighAPI_Selection& theTo);
+
#endif // FeaturesAPI_Measurement_H_