File indexing completed on 2026-05-02 08:22:57
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017 #ifndef _IntPatch_PointLine_HeaderFile
0018 #define _IntPatch_PointLine_HeaderFile
0019
0020 #include <Adaptor3d_Surface.hxx>
0021 #include <IntPatch_Line.hxx>
0022
0023 class gp_Pnt;
0024 class gp_Pnt2d;
0025 class IntSurf_PntOn2S;
0026 class IntSurf_LineOn2S;
0027 class IntPatch_Point;
0028
0029 DEFINE_STANDARD_HANDLE(IntPatch_PointLine, IntPatch_Line)
0030
0031
0032
0033
0034
0035
0036 class IntPatch_PointLine : public IntPatch_Line
0037 {
0038 public:
0039
0040
0041
0042 Standard_EXPORT virtual void AddVertex(const IntPatch_Point& Pnt,
0043 const Standard_Boolean theIsPrepend = Standard_False) = 0;
0044
0045
0046 Standard_EXPORT virtual Standard_Integer NbPnts() const = 0;
0047
0048
0049 Standard_EXPORT virtual Standard_Integer NbVertex() const = 0;
0050
0051
0052 Standard_EXPORT virtual const IntSurf_PntOn2S& Point(const Standard_Integer Index) const = 0;
0053
0054
0055 Standard_EXPORT virtual const IntPatch_Point& Vertex(const Standard_Integer Index) const = 0;
0056
0057
0058 virtual IntPatch_Point& ChangeVertex(const Standard_Integer Index) = 0;
0059
0060
0061 Standard_EXPORT virtual void ClearVertexes() = 0;
0062
0063
0064 Standard_EXPORT virtual void RemoveVertex(const Standard_Integer theIndex) = 0;
0065
0066
0067 Standard_EXPORT virtual Handle(IntSurf_LineOn2S) Curve() const = 0;
0068
0069
0070
0071 Standard_EXPORT virtual Standard_Boolean IsOutSurf1Box(const gp_Pnt2d& P1) const = 0;
0072
0073
0074
0075 Standard_EXPORT virtual Standard_Boolean IsOutSurf2Box(const gp_Pnt2d& P2) const = 0;
0076
0077
0078 Standard_EXPORT virtual Standard_Boolean IsOutBox(const gp_Pnt& P) const = 0;
0079
0080
0081
0082
0083 Standard_EXPORT static Standard_Real CurvatureRadiusOfIntersLine(
0084 const Handle(Adaptor3d_Surface)& theS1,
0085 const Handle(Adaptor3d_Surface)& theS2,
0086 const IntSurf_PntOn2S& theUVPoint);
0087
0088 DEFINE_STANDARD_RTTIEXT(IntPatch_PointLine, IntPatch_Line)
0089
0090 protected:
0091
0092
0093 Standard_EXPORT IntPatch_PointLine(const Standard_Boolean Tang,
0094 const IntSurf_TypeTrans Trans1,
0095 const IntSurf_TypeTrans Trans2);
0096
0097
0098
0099 Standard_EXPORT IntPatch_PointLine(const Standard_Boolean Tang,
0100 const IntSurf_Situation Situ1,
0101 const IntSurf_Situation Situ2);
0102
0103
0104
0105 Standard_EXPORT IntPatch_PointLine(const Standard_Boolean Tang);
0106
0107 private:
0108 };
0109
0110 #endif