File indexing completed on 2025-01-18 10:03:08
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017 #ifndef _BRepBlend_Line_HeaderFile
0018 #define _BRepBlend_Line_HeaderFile
0019
0020 #include <Blend_SequenceOfPoint.hxx>
0021 #include <BRepBlend_Extremity.hxx>
0022 #include <Standard_Transient.hxx>
0023 #include <Standard_Integer.hxx>
0024
0025 class Blend_Point;
0026
0027
0028 class BRepBlend_Line;
0029 DEFINE_STANDARD_HANDLE(BRepBlend_Line, Standard_Transient)
0030
0031
0032 class BRepBlend_Line : public Standard_Transient
0033 {
0034
0035 public:
0036
0037
0038 Standard_EXPORT BRepBlend_Line();
0039
0040
0041 Standard_EXPORT void Clear();
0042
0043
0044 void Append (const Blend_Point& P);
0045
0046
0047 void Prepend (const Blend_Point& P);
0048
0049
0050 void InsertBefore (const Standard_Integer Index, const Blend_Point& P);
0051
0052
0053
0054
0055 void Remove (const Standard_Integer FromIndex, const Standard_Integer ToIndex);
0056
0057
0058
0059 Standard_EXPORT void Set (const IntSurf_TypeTrans TranS1, const IntSurf_TypeTrans TranS2);
0060
0061
0062 Standard_EXPORT void Set (const IntSurf_TypeTrans Trans);
0063
0064
0065 void SetStartPoints (const BRepBlend_Extremity& StartPt1, const BRepBlend_Extremity& StartPt2);
0066
0067
0068 void SetEndPoints (const BRepBlend_Extremity& EndPt1, const BRepBlend_Extremity& EndPt2);
0069
0070
0071 Standard_Integer NbPoints() const;
0072
0073
0074 const Blend_Point& Point (const Standard_Integer Index) const;
0075
0076
0077
0078
0079
0080
0081
0082
0083
0084
0085
0086
0087
0088 IntSurf_TypeTrans TransitionOnS1() const;
0089
0090
0091
0092
0093 IntSurf_TypeTrans TransitionOnS2() const;
0094
0095
0096 const BRepBlend_Extremity& StartPointOnFirst() const;
0097
0098
0099 const BRepBlend_Extremity& StartPointOnSecond() const;
0100
0101
0102 const BRepBlend_Extremity& EndPointOnFirst() const;
0103
0104
0105 const BRepBlend_Extremity& EndPointOnSecond() const;
0106
0107
0108
0109 IntSurf_TypeTrans TransitionOnS() const;
0110
0111
0112
0113
0114 DEFINE_STANDARD_RTTIEXT(BRepBlend_Line,Standard_Transient)
0115
0116 protected:
0117
0118
0119
0120
0121 private:
0122
0123
0124 Blend_SequenceOfPoint seqpt;
0125 IntSurf_TypeTrans tras1;
0126 IntSurf_TypeTrans tras2;
0127 BRepBlend_Extremity stp1;
0128 BRepBlend_Extremity stp2;
0129 BRepBlend_Extremity endp1;
0130 BRepBlend_Extremity endp2;
0131 Standard_Boolean hass1;
0132 Standard_Boolean hass2;
0133
0134
0135 };
0136
0137
0138 #include <BRepBlend_Line.lxx>
0139
0140
0141
0142
0143
0144 #endif