Salome HOME
updated copyright message
[modules/shaper.git] / src / GeomAlgoAPI / GeomAlgoAPI_Fillet1D.h
index a1065bd4854f73957ad073f9ba767435f0766d66..5885bec5ea89d5bc8c758f5175e030dfcfccabf7 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2020-2021  CEA/DEN, EDF R&D
+// Copyright (C) 2020-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
@@ -34,8 +34,8 @@ class GeomAlgoAPI_Fillet1D : public GeomAlgoAPI_MakeShape
 
 public:
   /// Run fillet operation on a set of vertices with fixed radius.
-  /// \param theBaseWire        a changing Wire
-  /// \param theFilletVertices  list of edges the fillet is performed on
+  /// \param theBaseWire        a wire or a compound of wires
+  /// \param theFilletVertices  list of vertices the fillet is performed on
   /// \param theFilletRadius    radius of the fillet
   GEOMALGOAPI_EXPORT GeomAlgoAPI_Fillet1D(const GeomShapePtr& theBaseWire,
                                           const ListOfShape&  theFilletVertices,
@@ -57,14 +57,22 @@ public:
   const ListOfShape& failedVertices() const { return myFailedVertices; }
 
 private:
-  /// Perform 1d-fillet on wire
-  /// \param theBaseWire        a changing wire
-  /// \param theFilletVertices  list of vertices of filler
+  /// Perform 1d-fillet on a wire or a compound of wires
+  /// \param theBaseShape       the base wire or a compound of wires for fillet
+  /// \param theFilletVertices  list of vertices of fillet
   /// \param theRadius          fillet radius
-  void build(const GeomShapePtr& theBaseWire,
+  void build(const GeomShapePtr& theBaseShape,
              const ListOfShape&  theFilletVertices,
              const double        theRadius);
 
+  /// Perform 1d-fillet on wire
+  /// \param theBaseWire        the base wire for fillet
+  /// \param theFilletVertices  list of vertices of fillet
+  /// \param theRadius          fillet radius
+  GeomShapePtr buildWire(const GeomShapePtr& theBaseWire,
+                         const ListOfShape&  theFilletVertices,
+                         const double        theRadius);
+
 private:
   MapModified myGenerated;
   MapModified myModified;