-// Copyright (C) 2018-2020 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
return MY_MEASURE_ID;
}
+ /// Attribute name for distance measure.
+ inline static const std::string& MEASURE_PROXIMITY()
+ {
+ static const std::string MY_MEASURE_ID("Proximity");
+ return MY_MEASURE_ID;
+ }
+
/// Attribute name for radius measure.
inline static const std::string& MEASURE_RADIUS()
{
void computeLength();
/// Compute minimal distance between pair of shapes
void computeDistance();
+ /// Compute proximity (maximum of all minimal distances between pair of shapes)
+ void computeProximity();
/// Compute radius of circular edge, cylindrical surface or sphere.
void computeRadius();
/// Compute angle(s) between pair of edges if they are intersected