// 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 _HLRAlgo_Coincidence_HeaderFile #define _HLRAlgo_Coincidence_HeaderFile #ifndef _Standard_HeaderFile #include #endif #ifndef _Standard_Macro_HeaderFile #include #endif #ifndef _Standard_Integer_HeaderFile #include #endif #ifndef _Standard_Real_HeaderFile #include #endif #ifndef _TopAbs_State_HeaderFile #include #endif //! The Coincidence class is used in an Inteference to
//! store informations on the "hiding" edge.
//!
//! 2D Data : The tangent and the curvature of the
//! projection of the edge at the intersection point.
//! This is necesserary when the intersection is at
//! the extremity of the edge.
//!
//! 3D Data : The state of the edge near the
//! intersection with the face (before and after).
//! This is necessary when the intersection is "ON"
//! the face.
class HLRAlgo_Coincidence { 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 HLRAlgo_Coincidence(); void Set2D(const Standard_Integer FE,const Standard_Real Param) ; void SetState3D(const TopAbs_State stbef,const TopAbs_State staft) ; void Value2D(Standard_Integer& FE,Standard_Real& Param) const; void State3D(TopAbs_State& stbef,TopAbs_State& staft) const; protected: private: Standard_Integer myFE; Standard_Real myParam; TopAbs_State myStBef; TopAbs_State myStAft; }; #include // other Inline functions and methods (like "C++: function call" methods) #endif