// 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 _BRepFill_CompatibleWires_HeaderFile #define _BRepFill_CompatibleWires_HeaderFile #ifndef _Standard_HeaderFile #include #endif #ifndef _Standard_Macro_HeaderFile #include #endif #ifndef _TopTools_SequenceOfShape_HeaderFile #include #endif #ifndef _Standard_Real_HeaderFile #include #endif #ifndef _Standard_Boolean_HeaderFile #include #endif #ifndef _TopTools_DataMapOfShapeListOfShape_HeaderFile #include #endif class Standard_ConstructionError; class Standard_NoSuchObject; class TopTools_SequenceOfShape; class TopTools_ListOfShape; class TopoDS_Edge; class TopTools_DataMapOfShapeListOfShape; //! Constructs a sequence of Wires agreed each other
//! so that the surface passing through these sections
//! is not twisted
class BRepFill_CompatibleWires { 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 BRepFill_CompatibleWires(); Standard_EXPORT BRepFill_CompatibleWires(const TopTools_SequenceOfShape& Sections); Standard_EXPORT void Init(const TopTools_SequenceOfShape& Sections) ; Standard_EXPORT void SetPercent(const Standard_Real percent = 0.01) ; //! Performs CompatibleWires According to the orientation
//! and the origin of each other
Standard_EXPORT void Perform(const Standard_Boolean WithRotation = Standard_True) ; Standard_EXPORT Standard_Boolean IsDone() const; //! returns the generated sequence.
Standard_EXPORT const TopTools_SequenceOfShape& Shape() const; //! Returns the shapes created from a subshape
//! of a section.
//!
Standard_EXPORT const TopTools_ListOfShape& GeneratedShapes(const TopoDS_Edge& SubSection) const; Standard_EXPORT const TopTools_DataMapOfShapeListOfShape& Generated() const; protected: private: //! Insert cutting points on closed wires to have same
//! number of edges. The sequence of shapes must
//! be a sequence of wires.
Standard_EXPORT void SameNumberByPolarMethod(const Standard_Boolean WithRotation = Standard_True) ; //! Insert cutting points on open wires to have same
//! number of edges. The sequence of shapes must
//! be a sequence of wires.
Standard_EXPORT void SameNumberByACR(const Standard_Boolean report) ; //! Computes origins and orientation on closed wires to
//! avoid twisted results. The sequence of shapes must
//! be a sequence of wires. must be true
//! if SameNumberByPolarMethod was used before.
Standard_EXPORT void ComputeOrigin(const Standard_Boolean polar) ; //! Computes origins and orientation on open wires to
//! avoid twisted results. The sequence of shapes must
//! be a sequence of wires.
Standard_EXPORT void SearchOrigin() ; TopTools_SequenceOfShape myInit; TopTools_SequenceOfShape myWork; Standard_Real myPercent; Standard_Boolean myDegen1; Standard_Boolean myDegen2; Standard_Boolean myIsDone; TopTools_DataMapOfShapeListOfShape myMap; }; // other Inline functions and methods (like "C++: function call" methods) #endif