Warning, file /include/opencascade/BRepFill_TrimSurfaceTool.hxx was not indexed
or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).
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 <gp_Pnt.hxx>
0027 #include <NCollection_Sequence.hxx>
0028 #include <GeomAbs_Shape.hxx>
0029 class Geom2d_Curve;
0030 class gp_Pnt2d;
0031 class Geom_Curve;
0032
0033
0034
0035 class BRepFill_TrimSurfaceTool
0036 {
0037 public:
0038 DEFINE_STANDARD_ALLOC
0039
0040 Standard_EXPORT BRepFill_TrimSurfaceTool(const occ::handle<Geom2d_Curve>& Bis,
0041 const TopoDS_Face& Face1,
0042 const TopoDS_Face& Face2,
0043 const TopoDS_Edge& Edge1,
0044 const TopoDS_Edge& Edge2,
0045 const bool Inv1,
0046 const bool Inv2);
0047
0048
0049
0050
0051
0052
0053
0054
0055 Standard_EXPORT void IntersectWith(const TopoDS_Edge& EdgeOnF1,
0056 const TopoDS_Edge& EdgeOnF2,
0057 NCollection_Sequence<gp_Pnt>& Points) const;
0058
0059
0060 Standard_EXPORT bool IsOnFace(const gp_Pnt2d& Point) const;
0061
0062
0063
0064 Standard_EXPORT double ProjOn(const gp_Pnt2d& Point, const TopoDS_Edge& Edge) const;
0065
0066 Standard_EXPORT void Project(const double U1,
0067 const double U2,
0068 occ::handle<Geom_Curve>& Curve,
0069 occ::handle<Geom2d_Curve>& PCurve1,
0070 occ::handle<Geom2d_Curve>& PCurve2,
0071 GeomAbs_Shape& myCont) const;
0072
0073 private:
0074 TopoDS_Face myFace1;
0075 TopoDS_Face myFace2;
0076 TopoDS_Edge myEdge1;
0077 TopoDS_Edge myEdge2;
0078 bool myInv1;
0079 bool myInv2;
0080 occ::handle<Geom2d_Curve> myBis;
0081 };
0082
0083 #endif