File indexing completed on 2025-01-18 10:04:10
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017 #ifndef _IntPolyh_Edge_HeaderFile
0018 #define _IntPolyh_Edge_HeaderFile
0019
0020 #include <Standard.hxx>
0021 #include <Standard_DefineAlloc.hxx>
0022 #include <Standard_Handle.hxx>
0023
0024
0025
0026 class IntPolyh_Edge
0027 {
0028 public:
0029
0030 DEFINE_STANDARD_ALLOC
0031
0032
0033 IntPolyh_Edge() :
0034 myPoint1(-1), myPoint2(-1), myTriangle1(-1), myTriangle2(-1)
0035 {}
0036
0037 IntPolyh_Edge(const Standard_Integer thePoint1,
0038 const Standard_Integer thePoint2,
0039 const Standard_Integer theTriangle1,
0040 const Standard_Integer theTriangle2)
0041 :
0042 myPoint1(thePoint1),
0043 myPoint2(thePoint2),
0044 myTriangle1(theTriangle1),
0045 myTriangle2(theTriangle2)
0046 {}
0047
0048
0049 Standard_Integer FirstPoint() const
0050 {
0051 return myPoint1;
0052 }
0053
0054 Standard_Integer SecondPoint() const
0055 {
0056 return myPoint2;
0057 }
0058
0059 Standard_Integer FirstTriangle() const
0060 {
0061 return myTriangle1;
0062 }
0063
0064 Standard_Integer SecondTriangle() const
0065 {
0066 return myTriangle2;
0067 }
0068
0069 void SetFirstPoint (const Standard_Integer thePoint)
0070 {
0071 myPoint1 = thePoint;
0072 }
0073
0074 void SetSecondPoint (const Standard_Integer thePoint)
0075 {
0076 myPoint2 = thePoint;
0077 }
0078
0079 void SetFirstTriangle (const Standard_Integer theTriangle)
0080 {
0081 myTriangle1 = theTriangle;
0082 }
0083
0084 void SetSecondTriangle (const Standard_Integer theTriangle)
0085 {
0086 myTriangle2 = theTriangle;
0087 }
0088
0089 Standard_EXPORT void Dump (const Standard_Integer v) const;
0090
0091 protected:
0092
0093 private:
0094
0095 Standard_Integer myPoint1;
0096 Standard_Integer myPoint2;
0097 Standard_Integer myTriangle1;
0098 Standard_Integer myTriangle2;
0099 };
0100
0101 #endif