File indexing completed on 2025-01-18 10:03:17
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017 #ifndef _BRepTools_NurbsConvertModification_HeaderFile
0018 #define _BRepTools_NurbsConvertModification_HeaderFile
0019
0020 #include <Standard.hxx>
0021
0022 #include <TopTools_ListOfShape.hxx>
0023 #include <TColStd_ListOfTransient.hxx>
0024 #include <TColStd_IndexedDataMapOfTransientTransient.hxx>
0025 #include <BRepTools_CopyModification.hxx>
0026 #include <Standard_Real.hxx>
0027 #include <GeomAbs_Shape.hxx>
0028 class TopoDS_Face;
0029 class Geom_Surface;
0030 class TopLoc_Location;
0031 class TopoDS_Edge;
0032 class Geom_Curve;
0033 class TopoDS_Vertex;
0034 class gp_Pnt;
0035 class Geom2d_Curve;
0036
0037
0038 class BRepTools_NurbsConvertModification;
0039 DEFINE_STANDARD_HANDLE(BRepTools_NurbsConvertModification, BRepTools_CopyModification)
0040
0041
0042
0043
0044 class BRepTools_NurbsConvertModification : public BRepTools_CopyModification
0045 {
0046
0047 public:
0048
0049
0050 Standard_EXPORT BRepTools_NurbsConvertModification();
0051
0052
0053
0054
0055
0056
0057
0058
0059
0060
0061
0062
0063 Standard_EXPORT Standard_Boolean NewSurface (const TopoDS_Face& F, Handle(Geom_Surface)& S, TopLoc_Location& L, Standard_Real& Tol, Standard_Boolean& RevWires, Standard_Boolean& RevFace) Standard_OVERRIDE;
0064
0065
0066
0067
0068
0069
0070
0071 Standard_EXPORT Standard_Boolean NewCurve (const TopoDS_Edge& E, Handle(Geom_Curve)& C, TopLoc_Location& L, Standard_Real& Tol) Standard_OVERRIDE;
0072
0073
0074
0075
0076
0077
0078 Standard_EXPORT Standard_Boolean NewPoint (const TopoDS_Vertex& V, gp_Pnt& P, Standard_Real& Tol) Standard_OVERRIDE;
0079
0080
0081
0082
0083
0084
0085
0086 Standard_EXPORT Standard_Boolean NewCurve2d (const TopoDS_Edge& E, const TopoDS_Face& F, const TopoDS_Edge& NewE, const TopoDS_Face& NewF, Handle(Geom2d_Curve)& C, Standard_Real& Tol) Standard_OVERRIDE;
0087
0088
0089
0090
0091
0092
0093 Standard_EXPORT Standard_Boolean NewParameter (const TopoDS_Vertex& V, const TopoDS_Edge& E, Standard_Real& P, Standard_Real& Tol) Standard_OVERRIDE;
0094
0095
0096
0097
0098
0099
0100
0101 Standard_EXPORT GeomAbs_Shape Continuity (const TopoDS_Edge& E, const TopoDS_Face& F1, const TopoDS_Face& F2, const TopoDS_Edge& NewE, const TopoDS_Face& NewF1, const TopoDS_Face& NewF2) Standard_OVERRIDE;
0102
0103
0104
0105
0106 Standard_EXPORT Standard_Boolean NewTriangulation(const TopoDS_Face& theFace, Handle(Poly_Triangulation)& theTri) Standard_OVERRIDE;
0107
0108
0109
0110
0111 Standard_EXPORT Standard_Boolean NewPolygon(const TopoDS_Edge& theEdge, Handle(Poly_Polygon3D)& thePoly) Standard_OVERRIDE;
0112
0113
0114
0115
0116 Standard_EXPORT Standard_Boolean NewPolygonOnTriangulation(const TopoDS_Edge& theEdge,
0117 const TopoDS_Face& theFace,
0118 Handle(Poly_PolygonOnTriangulation)& thePoly) Standard_OVERRIDE;
0119
0120 Standard_EXPORT const TopTools_ListOfShape& GetUpdatedEdges() const;
0121
0122
0123 DEFINE_STANDARD_RTTIEXT(BRepTools_NurbsConvertModification,BRepTools_CopyModification)
0124
0125 protected:
0126
0127
0128
0129
0130 private:
0131
0132
0133 TopTools_ListOfShape myled;
0134 TColStd_ListOfTransient mylcu;
0135 TColStd_IndexedDataMapOfTransientTransient myMap;
0136 TopTools_ListOfShape myUpdatedEdges;
0137
0138
0139 };
0140
0141
0142
0143
0144
0145
0146
0147 #endif