// 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 _BRepIntCurveSurface_Inter_HeaderFile #define _BRepIntCurveSurface_Inter_HeaderFile #ifndef _Standard_HeaderFile #include #endif #ifndef _Standard_Macro_HeaderFile #include #endif #ifndef _Standard_Boolean_HeaderFile #include #endif #ifndef _Standard_Real_HeaderFile #include #endif #ifndef _gp_Lin_HeaderFile #include #endif #ifndef _GeomAdaptor_Curve_HeaderFile #include #endif #ifndef _TopExp_Explorer_HeaderFile #include #endif #ifndef _BRepClass_FaceClassifier_HeaderFile #include #endif #ifndef _IntCurveSurface_HInter_HeaderFile #include #endif #ifndef _Standard_Integer_HeaderFile #include #endif #ifndef _Handle_BRepTopAdaptor_TopolTool_HeaderFile #include #endif #ifndef _Handle_BRepAdaptor_HSurface_HeaderFile #include #endif #ifndef _TopAbs_State_HeaderFile #include #endif #ifndef _IntCurveSurface_TransitionOnCurve_HeaderFile #include #endif class BRepTopAdaptor_TopolTool; class BRepAdaptor_HSurface; class StdFail_NotDone; class TopoDS_Shape; class GeomAdaptor_Curve; class gp_Lin; class IntCurveSurface_IntersectionPoint; class gp_Pnt; class TopoDS_Face; //! Computes the intersection between a face and a curve
//!
class BRepIntCurveSurface_Inter { 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 BRepIntCurveSurface_Inter(); //! Load the Shape, the curve and initialize the
//! tolerance used for the classification.
Standard_EXPORT void Init(const TopoDS_Shape& Sh,const GeomAdaptor_Curve& Cu,const Standard_Real Tol) ; //! Load the Shape, the curve and initialize the
//! tolerance used for the classification.
Standard_EXPORT void Init(const TopoDS_Shape& Sh,const gp_Lin& L,const Standard_Real Tol) ; //! returns True if there is a current face.
Standard_EXPORT Standard_Boolean More() const; //! Sets the explorer to the next face.
Standard_EXPORT void Next() ; //! returns the current Intersection point.
Standard_EXPORT IntCurveSurface_IntersectionPoint Point() const; //! returns the current geometric Point
Standard_EXPORT const gp_Pnt& Pnt() const; //! returns the U parameter of the current point
//! on the current face.
Standard_EXPORT Standard_Real U() const; //! returns the V parameter of the current point
//! on the current face.
Standard_EXPORT Standard_Real V() const; //! returns the parameter of the current point
//! on the curve.
Standard_EXPORT Standard_Real W() const; //! returns the current state (IN or ON)
Standard_EXPORT TopAbs_State State() const; //! returns the transition of the line on the surface (IN or OUT or UNKNOWN)
Standard_EXPORT IntCurveSurface_TransitionOnCurve Transition() const; //! returns the current face.
Standard_EXPORT const TopoDS_Face& Face() const; protected: //! Internal function
Standard_EXPORT void Find() ; private: Standard_Boolean empty; Standard_Boolean curveisaline; Standard_Real tolerance; gp_Lin line; GeomAdaptor_Curve curve; TopExp_Explorer explorer; BRepClass_FaceClassifier classifier; IntCurveSurface_HInter intcs; Standard_Integer currentindex; Standard_Integer currentnbpoints; Handle_BRepTopAdaptor_TopolTool FastClass; Handle_BRepAdaptor_HSurface SurfForFastClass; TopAbs_State currentstate; Standard_Real currentU; Standard_Real currentV; }; // other Inline functions and methods (like "C++: function call" methods) #endif