File indexing completed on 2025-01-18 10:03:12
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017 #ifndef _BRepFill_TrimSurfaceTool_HeaderFile
0018 #define _BRepFill_TrimSurfaceTool_HeaderFile
0019
0020 #include <Standard.hxx>
0021 #include <Standard_DefineAlloc.hxx>
0022 #include <Standard_Handle.hxx>
0023
0024 #include <TopoDS_Face.hxx>
0025 #include <TopoDS_Edge.hxx>
0026 #include <TColgp_SequenceOfPnt.hxx>
0027 #include <GeomAbs_Shape.hxx>
0028 class Geom2d_Curve;
0029 class gp_Pnt2d;
0030 class Geom_Curve;
0031
0032
0033
0034
0035 class BRepFill_TrimSurfaceTool
0036 {
0037 public:
0038
0039 DEFINE_STANDARD_ALLOC
0040
0041
0042 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);
0043
0044
0045
0046
0047
0048
0049
0050
0051 Standard_EXPORT void IntersectWith (const TopoDS_Edge& EdgeOnF1, const TopoDS_Edge& EdgeOnF2, TColgp_SequenceOfPnt& Points) const;
0052
0053
0054 Standard_EXPORT Standard_Boolean IsOnFace (const gp_Pnt2d& Point) const;
0055
0056
0057
0058 Standard_EXPORT Standard_Real ProjOn (const gp_Pnt2d& Point, const TopoDS_Edge& Edge) const;
0059
0060 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;
0061
0062
0063
0064
0065 protected:
0066
0067
0068
0069
0070
0071 private:
0072
0073
0074
0075 TopoDS_Face myFace1;
0076 TopoDS_Face myFace2;
0077 TopoDS_Edge myEdge1;
0078 TopoDS_Edge myEdge2;
0079 Standard_Boolean myInv1;
0080 Standard_Boolean myInv2;
0081 Handle(Geom2d_Curve) myBis;
0082
0083
0084 };
0085
0086
0087
0088
0089
0090
0091
0092 #endif