// 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 _BRepFill_TrimSurfaceTool_HeaderFile #define _BRepFill_TrimSurfaceTool_HeaderFile #ifndef _Standard_HeaderFile #include #endif #ifndef _Standard_Macro_HeaderFile #include #endif #ifndef _TopoDS_Face_HeaderFile #include #endif #ifndef _TopoDS_Edge_HeaderFile #include #endif #ifndef _Standard_Boolean_HeaderFile #include #endif #ifndef _Handle_Geom2d_Curve_HeaderFile #include #endif #ifndef _Standard_Real_HeaderFile #include #endif #ifndef _Handle_Geom_Curve_HeaderFile #include #endif #ifndef _GeomAbs_Shape_HeaderFile #include #endif class Geom2d_Curve; class Standard_NoSuchObject; class TopoDS_Face; class TopoDS_Edge; class TColgp_SequenceOfPnt; class gp_Pnt2d; class Geom_Curve; class BRepFill_TrimSurfaceTool { 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 BRepFill_TrimSurfaceTool(const Handle(Geom2d_Curve)& Bis,const TopoDS_Face& Face1,const TopoDS_Face& Face2,const TopoDS_Edge& Edge1,const TopoDS_Edge& Edge2,const Standard_Boolean Inv1,const Standard_Boolean Inv2); //! Intersect with the projection of the edges
//! and returns the intersecting parameters
//! on Bis and on the edges
//! P.X() : Parameter on Bis
//! P.Y() : Parameter on EdgeOnF1
//! P.Z() : Parameter on EdgeOnF2
//! raises if is not a edge of Face1 or Face2.
Standard_EXPORT void IntersectWith(const TopoDS_Edge& EdgeOnF1,const TopoDS_Edge& EdgeOnF2,TColgp_SequenceOfPnt& Points) const; //! returns True if the Line (P, DZ) intersect the Faces
Standard_EXPORT Standard_Boolean IsOnFace(const gp_Pnt2d& Point) const; //! returns the parameter of the point on the
//! Edge , assuming that the point is on the edge.
Standard_EXPORT Standard_Real ProjOn(const gp_Pnt2d& Point,const TopoDS_Edge& Edge) const; Standard_EXPORT void Project(const Standard_Real U1,const Standard_Real U2,Handle(Geom_Curve)& Curve,Handle(Geom2d_Curve)& PCurve1,Handle(Geom2d_Curve)& PCurve2,GeomAbs_Shape& myCont) const; protected: private: TopoDS_Face myFace1; TopoDS_Face myFace2; TopoDS_Edge myEdge1; TopoDS_Edge myEdge2; Standard_Boolean myInv1; Standard_Boolean myInv2; Handle_Geom2d_Curve myBis; }; // other Inline functions and methods (like "C++: function call" methods) #endif