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 _BRepTopAdaptor_HVertex_HeaderFile
0018 #define _BRepTopAdaptor_HVertex_HeaderFile
0019
0020 #include <Adaptor3d_HVertex.hxx>
0021 #include <BRepAdaptor_Curve2d.hxx>
0022 #include <Standard.hxx>
0023 #include <Standard_Type.hxx>
0024 #include <TopAbs_Orientation.hxx>
0025 #include <TopoDS_Vertex.hxx>
0026
0027 class gp_Pnt2d;
0028
0029
0030 class BRepTopAdaptor_HVertex;
0031 DEFINE_STANDARD_HANDLE(BRepTopAdaptor_HVertex, Adaptor3d_HVertex)
0032
0033
0034 class BRepTopAdaptor_HVertex : public Adaptor3d_HVertex
0035 {
0036
0037 public:
0038
0039
0040 Standard_EXPORT BRepTopAdaptor_HVertex(const TopoDS_Vertex& Vtx, const Handle(BRepAdaptor_Curve2d)& Curve);
0041
0042 const TopoDS_Vertex& Vertex() const;
0043
0044 TopoDS_Vertex& ChangeVertex();
0045
0046 Standard_EXPORT virtual gp_Pnt2d Value() Standard_OVERRIDE;
0047
0048 Standard_EXPORT virtual Standard_Real Parameter (const Handle(Adaptor2d_Curve2d)& C) Standard_OVERRIDE;
0049
0050
0051 Standard_EXPORT virtual Standard_Real Resolution (const Handle(Adaptor2d_Curve2d)& C) Standard_OVERRIDE;
0052
0053 Standard_EXPORT virtual TopAbs_Orientation Orientation() Standard_OVERRIDE;
0054
0055 Standard_EXPORT virtual Standard_Boolean IsSame (const Handle(Adaptor3d_HVertex)& Other) Standard_OVERRIDE;
0056
0057
0058
0059
0060 DEFINE_STANDARD_RTTIEXT(BRepTopAdaptor_HVertex,Adaptor3d_HVertex)
0061
0062 protected:
0063
0064
0065
0066
0067 private:
0068
0069
0070 TopoDS_Vertex myVtx;
0071 Handle(BRepAdaptor_Curve2d) myCurve;
0072
0073
0074 };
0075
0076
0077 #include <BRepTopAdaptor_HVertex.lxx>
0078
0079
0080
0081
0082
0083 #endif