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
*
* \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.
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):