// 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 _BRepMAT2d_LinkTopoBilo_HeaderFile #define _BRepMAT2d_LinkTopoBilo_HeaderFile #ifndef _Standard_HeaderFile #include #endif #ifndef _Standard_Macro_HeaderFile #include #endif #ifndef _BRepMAT2d_DataMapOfShapeSequenceOfBasicElt_HeaderFile #include #endif #ifndef _BRepMAT2d_DataMapOfBasicEltShape_HeaderFile #include #endif #ifndef _TopoDS_Shape_HeaderFile #include #endif #ifndef _Standard_Integer_HeaderFile #include #endif #ifndef _Standard_Boolean_HeaderFile #include #endif #ifndef _Handle_MAT_BasicElt_HeaderFile #include #endif class Standard_ConstructionError; class BRepMAT2d_Explorer; class BRepMAT2d_BisectingLocus; class TopoDS_Shape; class MAT_BasicElt; class TopoDS_Wire; //!Constucts links between the Face of the explorer and
//! the BasicElts contained in the bisecting locus.
class BRepMAT2d_LinkTopoBilo { 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 BRepMAT2d_LinkTopoBilo(); //! Constructs the links Between S and BiLo.
//!
//! raises if is not a face.
Standard_EXPORT BRepMAT2d_LinkTopoBilo(const BRepMAT2d_Explorer& Explo,const BRepMAT2d_BisectingLocus& BiLo); //! Constructs the links Between S and BiLo.
//!
//! raises if is not a face or a wire.
Standard_EXPORT void Perform(const BRepMAT2d_Explorer& Explo,const BRepMAT2d_BisectingLocus& BiLo) ; //! Initialise the Iterator on
//! is an edge or a vertex of the initial
//! wire or face.
//! raises if is not an edge or a vertex.
Standard_EXPORT void Init(const TopoDS_Shape& S) ; //! Returns True if there is a current BasicElt.
Standard_EXPORT Standard_Boolean More() ; //! Proceed to the next BasicElt.
Standard_EXPORT void Next() ; //! Returns the current BasicElt.
Standard_EXPORT Handle_MAT_BasicElt Value() const; //! Returns the Shape linked to .
Standard_EXPORT TopoDS_Shape GeneratingShape(const Handle(MAT_BasicElt)& aBE) const; protected: private: Standard_EXPORT void LinkToWire(const TopoDS_Wire& W,const BRepMAT2d_Explorer& Explo,const Standard_Integer IndexContour,const BRepMAT2d_BisectingLocus& BiLo) ; BRepMAT2d_DataMapOfShapeSequenceOfBasicElt myMap; BRepMAT2d_DataMapOfBasicEltShape myBEShape; TopoDS_Shape myKey; Standard_Integer current; Standard_Boolean isEmpty; }; // other Inline functions and methods (like "C++: function call" methods) #endif