// This file is generated by WOK (CPPExt). // Please do not edit this file; modify original file instead. // The copyright and license terms as defined for the original file apply to // this header file considered to be the "object code" form of the original source. #ifndef _BRepAlgo_Loop_HeaderFile #define _BRepAlgo_Loop_HeaderFile #ifndef _Standard_HeaderFile #include #endif #ifndef _Standard_Macro_HeaderFile #include #endif #ifndef _TopoDS_Face_HeaderFile #include #endif #ifndef _TopTools_ListOfShape_HeaderFile #include #endif #ifndef _TopTools_DataMapOfShapeListOfShape_HeaderFile #include #endif #ifndef _TopTools_DataMapOfShapeShape_HeaderFile #include #endif class TopoDS_Face; class TopoDS_Edge; class TopTools_ListOfShape; class TopTools_DataMapOfShapeShape; //! Builds the loops from a set of edges on a face.
class BRepAlgo_Loop { public: void* operator new(size_t,void* anAddress) { return anAddress; } void* operator new(size_t size) { return Standard::Allocate(size); } void operator delete(void *anAddress) { if (anAddress) Standard::Free((Standard_Address&)anAddress); } Standard_EXPORT BRepAlgo_Loop(); //! Init with the set of edges must have
//! pcurves on .
Standard_EXPORT void Init(const TopoDS_Face& F) ; //! Add E with . will be copied and trim
//! by vertices in .
Standard_EXPORT void AddEdge(TopoDS_Edge& E,const TopTools_ListOfShape& LV) ; //! Add as const edge, E can be in the result.
Standard_EXPORT void AddConstEdge(const TopoDS_Edge& E) ; //! Add as a set of const edges.
Standard_EXPORT void AddConstEdges(const TopTools_ListOfShape& LE) ; //! Make loops.
Standard_EXPORT void Perform() ; //! Cut the edge in several edges on the
//! vertices.
Standard_EXPORT void CutEdge(const TopoDS_Edge& E,const TopTools_ListOfShape& VonE,TopTools_ListOfShape& NE) const; //! Returns the list of wires performed.
//! can be an empty list.
Standard_EXPORT const TopTools_ListOfShape& NewWires() const; //! Build faces from the wires result.
Standard_EXPORT void WiresToFaces() ; //! Returns the list of faces.
//! Warning: The method as to be called before.
//! can be an empty list.
Standard_EXPORT const TopTools_ListOfShape& NewFaces() const; //! Returns the list of new edges built from an edge
//! it can be an empty list.
Standard_EXPORT const TopTools_ListOfShape& NewEdges(const TopoDS_Edge& E) const; //! Returns the datamap of vertices with their substitutes.
Standard_EXPORT void GetVerticesForSubstitute(TopTools_DataMapOfShapeShape& VerVerMap) const; Standard_EXPORT void VerticesForSubstitute(TopTools_DataMapOfShapeShape& VerVerMap) ; protected: private: TopoDS_Face myFace; TopTools_ListOfShape myConstEdges; TopTools_DataMapOfShapeListOfShape myVerOnEdges; TopTools_ListOfShape myNewWires; TopTools_ListOfShape myNewFaces; TopTools_DataMapOfShapeListOfShape myNewEdges; TopTools_DataMapOfShapeShape myVerticesForSubstitute; }; // other Inline functions and methods (like "C++: function call" methods) #endif