X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FFeaturesAPI%2FFeaturesAPI_Measurement.h;h=19923d86538458a6741783b0b3653b3440d3ffe5;hb=06e7f5859095193fc7f498bd89a7d28009794f53;hp=9438a6326543b26bb7c02ad19209c5626e02ccde;hpb=1fd15bed1c62f994a3438bc4a12f44d0361f98c9;p=modules%2Fshaper.git diff --git a/src/FeaturesAPI/FeaturesAPI_Measurement.h b/src/FeaturesAPI/FeaturesAPI_Measurement.h index 9438a6326..19923d865 100644 --- a/src/FeaturesAPI/FeaturesAPI_Measurement.h +++ b/src/FeaturesAPI/FeaturesAPI_Measurement.h @@ -1,4 +1,4 @@ -// Copyright (C) 2018-2021 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& 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& thePart, + const ModelHighAPI_Selection& theFrom, + const ModelHighAPI_Selection& theTo); + #endif // FeaturesAPI_Measurement_H_