]> SALOME platform Git repositories - modules/shaper.git/blobdiff - src/FeaturesAPI/FeaturesAPI_Measurement.h
Salome HOME
updated copyright message
[modules/shaper.git] / src / FeaturesAPI / FeaturesAPI_Measurement.h
index 7ab0de9411da7a3c1a45c299de1d7e91050b7e6f..19923d86538458a6741783b0b3653b3440d3ffe5 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2018-2019  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
@@ -62,4 +62,11 @@ double measureAngle(const std::shared_ptr<ModelAPI_Document>& thePart,
                     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_