// 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 _IntSurf_Transition_HeaderFile #define _IntSurf_Transition_HeaderFile #ifndef _Standard_HeaderFile #include #endif #ifndef _Standard_Macro_HeaderFile #include #endif #ifndef _Standard_Boolean_HeaderFile #include #endif #ifndef _IntSurf_TypeTrans_HeaderFile #include #endif #ifndef _IntSurf_Situation_HeaderFile #include #endif class Standard_DomainError; //! Definition of the transition at the intersection
//! between an intersection line and a restriction curve
//! on a surface.
class IntSurf_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); } //! Empty constructor. Creates an UNDECIDED transition.
Standard_EXPORT IntSurf_Transition(); //! Create a IN or OUT transition
Standard_EXPORT IntSurf_Transition(const Standard_Boolean Tangent,const IntSurf_TypeTrans Type); //! Create a TOUCH transition.
Standard_EXPORT IntSurf_Transition(const Standard_Boolean Tangent,const IntSurf_Situation Situ,const Standard_Boolean Oppos); //! Set the values of an IN or OUT transition.
void SetValue(const Standard_Boolean Tangent,const IntSurf_TypeTrans Type) ; //! Set the values of a TOUCH transition.
void SetValue(const Standard_Boolean Tangent,const IntSurf_Situation Situ,const Standard_Boolean Oppos) ; //! Set the values of an UNDECIDED transition.
void SetValue() ; //! Returns the type of Transition (in/out/touch/undecided)
//! for the arc given by value. This the transition of
//! the intersection line compared to the Arc of restriction,
//! i-e when the function returns INSIDE for example, it
//! means that the intersection line goes inside the
//! part of plane limited by the arc of restriction.
IntSurf_TypeTrans TransitionType() const; //! Returns TRUE if the point is tangent to the arc
//! given by Value.
//! An exception is raised if TransitionType returns UNDECIDED.
Standard_Boolean IsTangent() const; //! Returns a significant value if TransitionType returns
//! TOUCH. In this case, the function returns :
//! INSIDE when the intersection line remains inside the Arc,
//! OUTSIDE when it remains outside the Arc,
//! UNKNOWN when the calsulus cannot give results.
//! If TransitionType returns IN, or OUT, or UNDECIDED, a
//! exception is raised.
IntSurf_Situation Situation() const; //! returns a significant value if TransitionType returns
//! TOUCH.
//! In this case, the function returns true when
//! the 2 curves locally define two different parts of the
//! space.
//! If TransitionType returns IN or OUT or UNDECIDED, an
//! exception is raised.
Standard_Boolean IsOpposite() const; protected: private: Standard_Boolean tangent; IntSurf_TypeTrans typetra; IntSurf_Situation situat; Standard_Boolean oppos; }; #include // other Inline functions and methods (like "C++: function call" methods) #endif