]> SALOME platform Git repositories - modules/geom.git/blobdiff - idl/GEOM_Gen.idl
Salome HOME
[GITHUB #1] updated TUI command doc for make sphere from point and radius
[modules/geom.git] / idl / GEOM_Gen.idl
index f81c92cee371cc165ef97bd7dfa27d3e7359fcd2..d1428637a75e00fa1f489ad69c213e6658e749bb 100644 (file)
@@ -220,6 +220,29 @@ module GEOM
     CC_LE  ///< Less then or equal to
   };
 
+  /*!
+   *  \brief Wire construction mode. Regulates the way gaps are closed.
+   *
+   *  Is used in function GEOM_IShapesOperations.MakeWire()
+   */
+  enum wire_build_mode
+  {
+    /*! Do not change curves, just enlarge wire tolerance to cover the gaps */
+    WBM_FixTolerance,
+
+    /*!
+     *  Replace curves, neighbour to the gap,
+     *  with BSplines, connecting in the middle of the gap
+     */
+    WBM_Approximation,
+
+    /*!
+     *  Replace curves, neighbour to the gap, with new curves of the same
+     *  type and close parameters, connecting in the middle of the gap
+     */
+    WBM_KeepCurveType
+  };
+
   /*!
    * \brief Object creation parameters
    *
@@ -2034,10 +2057,12 @@ module GEOM
      *  \param theEdgesAndWires List of edge and/or wires.
      *  \param theTolerance Maximum distance between vertices, that will be merged.
      *                      Values less than 1e-07 are equivalent to 1e-07 (Precision::Confusion()).
+     *  \param theMode Mode of gaps filling.
      *  \return New GEOM_Object, containing the created wire.
      */
     GEOM_Object MakeWire (in ListOfGO theEdgesAndWires,
-                          in double   theTolerance);
+                          in double   theTolerance,
+                          in wire_build_mode theMode);
 
     /*!
      *  \brief Create a face on the given wire.
@@ -2066,6 +2091,17 @@ module GEOM
     GEOM_Object MakeFaceFromSurface(in GEOM_Object theFace,
                                     in GEOM_Object theWire);
 
+    /**
+     *  \brief Create non planar face with list of edges and list of vertices
+     *  \param theEdges list of Edges(must be closed but not nesessarily belong to the same plane) .
+     *  \param theVertices list of vertices through which the result face must pass.
+     *  \param theTolerance tolerance.
+     *  \return New GEOM_Object, containing the created face.
+     */
+    GEOM_Object MakeWrappedFace(in ListOfGO theEdges,
+                                in ListOfGO theVertices,
+                                in double   theTolerance);
+
     /*!
      *  \brief Create a face from a set of edges with the given constraints.
      *  \param theConstraints List of edges and constraint faces (as a sequence of a Edge + Face couples):