File indexing completed on 2025-01-18 10:04:09
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
0043 Standard_EXPORT virtual
0044 void AddVertex (const IntPatch_Point& Pnt,
0045 const Standard_Boolean theIsPrepend = Standard_False) = 0;
0046
0047
0048 Standard_EXPORT virtual Standard_Integer NbPnts() const = 0;
0049
0050
0051 Standard_EXPORT virtual Standard_Integer NbVertex() const = 0;
0052
0053
0054 Standard_EXPORT virtual const IntSurf_PntOn2S& Point (const Standard_Integer Index) const = 0;
0055
0056
0057 Standard_EXPORT virtual const IntPatch_Point& Vertex (const Standard_Integer Index) const = 0;
0058
0059
0060 virtual IntPatch_Point& ChangeVertex (const Standard_Integer Index) = 0;
0061
0062
0063 Standard_EXPORT virtual void ClearVertexes() = 0;
0064
0065
0066 Standard_EXPORT virtual void RemoveVertex (const Standard_Integer theIndex) = 0;
0067
0068
0069 Standard_EXPORT virtual Handle(IntSurf_LineOn2S) Curve() const = 0;
0070
0071
0072
0073 Standard_EXPORT virtual Standard_Boolean IsOutSurf1Box(const gp_Pnt2d& P1) const = 0;
0074
0075
0076
0077 Standard_EXPORT virtual Standard_Boolean IsOutSurf2Box(const gp_Pnt2d& P2) const = 0;
0078
0079
0080 Standard_EXPORT virtual Standard_Boolean IsOutBox(const gp_Pnt& P) const = 0;
0081
0082
0083
0084
0085 Standard_EXPORT static Standard_Real
0086 CurvatureRadiusOfIntersLine(const Handle(Adaptor3d_Surface)& theS1,
0087 const Handle(Adaptor3d_Surface)& theS2,
0088 const IntSurf_PntOn2S& theUVPoint);
0089
0090 DEFINE_STANDARD_RTTIEXT(IntPatch_PointLine,IntPatch_Line)
0091
0092 protected:
0093
0094
0095
0096
0097 Standard_EXPORT IntPatch_PointLine(const Standard_Boolean Tang, const IntSurf_TypeTrans Trans1, const IntSurf_TypeTrans Trans2);
0098
0099
0100
0101 Standard_EXPORT IntPatch_PointLine(const Standard_Boolean Tang, const IntSurf_Situation Situ1, const IntSurf_Situation Situ2);
0102
0103
0104
0105 Standard_EXPORT IntPatch_PointLine(const Standard_Boolean Tang);
0106
0107
0108
0109 private:
0110
0111
0112
0113
0114 };
0115
0116
0117
0118
0119
0120
0121
0122 #endif