// 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 _BOPTools_PaveBlock_HeaderFile #define _BOPTools_PaveBlock_HeaderFile #ifndef _Standard_HeaderFile #include #endif #ifndef _Standard_Macro_HeaderFile #include #endif #ifndef _Standard_Integer_HeaderFile #include #endif #ifndef _BOPTools_Pave_HeaderFile #include #endif #ifndef _IntTools_Range_HeaderFile #include #endif #ifndef _IntTools_ShrunkRange_HeaderFile #include #endif #ifndef _IntTools_Curve_HeaderFile #include #endif #ifndef _BOPTools_PointBetween_HeaderFile #include #endif #ifndef _Standard_Boolean_HeaderFile #include #endif #ifndef _Standard_Real_HeaderFile #include #endif class BOPTools_Pave; class IntTools_ShrunkRange; class BOPTools_PointBetween; class IntTools_Curve; class IntTools_Range; //! Class for storing info about a couple
//! of neighbouring paves on an edge
class BOPTools_PaveBlock { 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); } //! Empty constructor
Standard_EXPORT BOPTools_PaveBlock(); //! Constructor
//! Index - DS-index of the edge
//! aPave1 - one pave
//! aPave2 - other pave
Standard_EXPORT BOPTools_PaveBlock(const Standard_Integer anEdge,const BOPTools_Pave& aPave1,const BOPTools_Pave& aPave2); //! Modifier
//! Sets DS-index for the edge that is between aPave1 and aPave2
Standard_EXPORT void SetEdge(const Standard_Integer anEdge) ; //! Modifier
//! Sets DS-index for the edge from which this pave block comes from
Standard_EXPORT void SetOriginalEdge(const Standard_Integer anEdge) ; //! Modifier
Standard_EXPORT void SetPave1(const BOPTools_Pave& aPave) ; //! Modifier
Standard_EXPORT void SetPave2(const BOPTools_Pave& aPave) ; //! Modifier
//! Sets the Shrunk Range for the pave block
Standard_EXPORT void SetShrunkRange(const IntTools_ShrunkRange& aSR) ; //! Modifier
//! Sets the point between the paves for the pave block
Standard_EXPORT void SetPointBetween(const BOPTools_PointBetween& aP) ; //! Modifier
//! Sets the intersection curve to which the pave block belongs to
Standard_EXPORT void SetCurve(const IntTools_Curve& aC) ; //! Modifier
//! Sets the DS-index of the first face
Standard_EXPORT void SetFace1(const Standard_Integer nF1) ; //! Modifier
//! Sets the DS-index of the second face
Standard_EXPORT void SetFace2(const Standard_Integer nF2) ; //! Selector
Standard_EXPORT Standard_Integer Edge() const; //! Selector
Standard_EXPORT Standard_Integer OriginalEdge() const; //! Selector
Standard_EXPORT const BOPTools_Pave& Pave1() const; //! Selector
Standard_EXPORT const BOPTools_Pave& Pave2() const; //! Returns TRUE if both paves have vertex index !=0
Standard_EXPORT Standard_Boolean IsValid() const; //! Returns TRUE if is equal to me
Standard_EXPORT Standard_Boolean IsEqual(const BOPTools_PaveBlock& Other) const; //! Returns values for paves' parameters
Standard_EXPORT void Parameters(Standard_Real& aT1,Standard_Real& aT2) const; //! Returns parmetric range for paves' parameters
Standard_EXPORT const IntTools_Range& Range() const; //! Selector
Standard_EXPORT const IntTools_ShrunkRange& ShrunkRange() const; //! Selector
Standard_EXPORT const BOPTools_PointBetween& PointBetween() const; //! Selector
Standard_EXPORT const IntTools_Curve& Curve() const; //! Selector
Standard_EXPORT Standard_Integer Face1() const; //! Selector
Standard_EXPORT Standard_Integer Face2() const; Standard_EXPORT Standard_Boolean IsInBlock(const BOPTools_Pave& aPaveX) const; protected: private: Standard_Integer myEdge; Standard_Integer myOriginalEdge; BOPTools_Pave myPave1; BOPTools_Pave myPave2; IntTools_Range myRange; IntTools_ShrunkRange myShrunkRange; IntTools_Curve myCurve; Standard_Integer myFace1; Standard_Integer myFace2; BOPTools_PointBetween myPointBetween; }; // other Inline functions and methods (like "C++: function call" methods) #endif