// 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 _Geom2dHatch_Intersector_HeaderFile #define _Geom2dHatch_Intersector_HeaderFile #ifndef _Standard_HeaderFile #include #endif #ifndef _Standard_Macro_HeaderFile #include #endif #ifndef _Standard_Real_HeaderFile #include #endif #ifndef _Geom2dInt_GInter_HeaderFile #include #endif class Geom2dAdaptor_Curve; class gp_Lin2d; class gp_Dir2d; class Geom2dHatch_Intersector : public Geom2dInt_GInter { 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); } //! Creates an intersector.
Geom2dHatch_Intersector(const Standard_Real Confusion,const Standard_Real Tangency); //! Returns the confusion tolerance of the
//! intersector.
Standard_Real ConfusionTolerance() const; //! Sets the confusion tolerance of the intersector.
void SetConfusionTolerance(const Standard_Real Confusion) ; //! Returns the tangency tolerance of the
//! intersector.
Standard_Real TangencyTolerance() const; //! Sets the tangency tolerance of the intersector.
void SetTangencyTolerance(const Standard_Real Tangency) ; //! Intersects the curves C1 and C2.
//! The results are retreived by the usual methods
//! described in IntRes2d_Intersection.
//! Creates an intersector.
void Intersect(const Geom2dAdaptor_Curve& C1,const Geom2dAdaptor_Curve& C2) ; Standard_EXPORT Geom2dHatch_Intersector(); //! Performs the intersection between the 2d line
//! segment (,

) and the Curve . The line
//! segment is the part of the 2d line of
//! parameter range [0,

] (P is positive and can be
//! RealLast()). Tol is the Tolerance on the segment.
//! The order is relevant, the first argument is the
//! segment, the second the Edge.
Standard_EXPORT void Perform(const gp_Lin2d& L,const Standard_Real P,const Standard_Real Tol,const Geom2dAdaptor_Curve& E) ; //! Returns in , and the tangent, normal
//! and curvature of the edge at parameter value
//! .
Standard_EXPORT void LocalGeometry(const Geom2dAdaptor_Curve& E,const Standard_Real U,gp_Dir2d& T,gp_Dir2d& N,Standard_Real& C) const; protected: private: Standard_Real myConfusionTolerance; Standard_Real myTangencyTolerance; }; #include // other Inline functions and methods (like "C++: function call" methods) #endif