// 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 _TopOpeBRepDS_Transition_HeaderFile #define _TopOpeBRepDS_Transition_HeaderFile #ifndef _Standard_HeaderFile #include #endif #ifndef _Standard_Macro_HeaderFile #include #endif #ifndef _TopAbs_State_HeaderFile #include #endif #ifndef _TopAbs_ShapeEnum_HeaderFile #include #endif #ifndef _Standard_Integer_HeaderFile #include #endif #ifndef _TopAbs_Orientation_HeaderFile #include #endif #ifndef _Standard_Boolean_HeaderFile #include #endif #ifndef _Standard_OStream_HeaderFile #include #endif class TopOpeBRepDS_Transition { 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 TopOpeBRepDS_Transition(); Standard_EXPORT TopOpeBRepDS_Transition(const TopAbs_State StateBefore,const TopAbs_State StateAfter,const TopAbs_ShapeEnum ShapeBefore = TopAbs_FACE,const TopAbs_ShapeEnum ShapeAfter = TopAbs_FACE); Standard_EXPORT TopOpeBRepDS_Transition(const TopAbs_Orientation O); Standard_EXPORT void Set(const TopAbs_State StateBefore,const TopAbs_State StateAfter,const TopAbs_ShapeEnum ShapeBefore = TopAbs_FACE,const TopAbs_ShapeEnum ShapeAfter = TopAbs_FACE) ; Standard_EXPORT void StateBefore(const TopAbs_State S) ; Standard_EXPORT void StateAfter(const TopAbs_State S) ; Standard_EXPORT void ShapeBefore(const TopAbs_ShapeEnum SE) ; Standard_EXPORT void ShapeAfter(const TopAbs_ShapeEnum SE) ; Standard_EXPORT void Before(const TopAbs_State S,const TopAbs_ShapeEnum ShapeBefore = TopAbs_FACE) ; Standard_EXPORT void After(const TopAbs_State S,const TopAbs_ShapeEnum ShapeAfter = TopAbs_FACE) ; Standard_EXPORT void Index(const Standard_Integer I) ; Standard_EXPORT void IndexBefore(const Standard_Integer I) ; Standard_EXPORT void IndexAfter(const Standard_Integer I) ; Standard_EXPORT TopAbs_State Before() const; Standard_EXPORT TopAbs_ShapeEnum ONBefore() const; Standard_EXPORT TopAbs_State After() const; Standard_EXPORT TopAbs_ShapeEnum ONAfter() const; Standard_EXPORT TopAbs_ShapeEnum ShapeBefore() const; Standard_EXPORT TopAbs_ShapeEnum ShapeAfter() const; Standard_EXPORT Standard_Integer Index() const; Standard_EXPORT Standard_Integer IndexBefore() const; Standard_EXPORT Standard_Integer IndexAfter() const; //! set the transition corresponding to orientation
Standard_EXPORT void Set(const TopAbs_Orientation O) ; //! returns the orientation corresponding to state
//!
//! Before and After not equal TopAbs_ON :
//! --------------------------------------
//! Before After Computed orientation
//!
//! S not S REVERSED (we leave state S)
//! not S S FORWARD (we enter state S)
//! S S INTERNAL (we stay in state S)
//! not S not S EXTERNAL (we stay outside state S)
Standard_EXPORT TopAbs_Orientation Orientation(const TopAbs_State S,const TopAbs_ShapeEnum T = TopAbs_FACE) const; Standard_EXPORT TopOpeBRepDS_Transition Complement() const; //! returns True if both states are UNKNOWN
Standard_EXPORT Standard_Boolean IsUnknown() const; Standard_EXPORT Standard_OStream& DumpA(Standard_OStream& OS) const; Standard_EXPORT Standard_OStream& DumpB(Standard_OStream& OS) const; Standard_EXPORT Standard_OStream& Dump(Standard_OStream& OS) const; protected: private: //! returns the orientation corresponding to state
//! (if one at least of the internal states is ON)
Standard_EXPORT TopAbs_Orientation OrientationON(const TopAbs_State S,const TopAbs_ShapeEnum T) const; TopAbs_State myStateBefore; TopAbs_State myStateAfter; TopAbs_ShapeEnum myShapeBefore; TopAbs_ShapeEnum myShapeAfter; Standard_Integer myIndexBefore; Standard_Integer myIndexAfter; }; // other Inline functions and methods (like "C++: function call" methods) #endif