File indexing completed on 2026-10-01 09:01:20
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 DEFINE_STANDARD_ALLOC
0030
0031
0032 IntPolyh_Edge()
0033 : myPoint1(-1),
0034 myPoint2(-1),
0035 myTriangle1(-1),
0036 myTriangle2(-1)
0037 {
0038 }
0039
0040
0041 IntPolyh_Edge(const int thePoint1,
0042 const int thePoint2,
0043 const int theTriangle1,
0044 const int theTriangle2)
0045 : myPoint1(thePoint1),
0046 myPoint2(thePoint2),
0047 myTriangle1(theTriangle1),
0048 myTriangle2(theTriangle2)
0049 {
0050 }
0051
0052
0053 int FirstPoint() const { return myPoint1; }
0054
0055
0056 int SecondPoint() const { return myPoint2; }
0057
0058
0059 int FirstTriangle() const { return myTriangle1; }
0060
0061
0062 int SecondTriangle() const { return myTriangle2; }
0063
0064
0065 void SetFirstPoint(const int thePoint) { myPoint1 = thePoint; }
0066
0067
0068 void SetSecondPoint(const int thePoint) { myPoint2 = thePoint; }
0069
0070
0071 void SetFirstTriangle(const int theTriangle) { myTriangle1 = theTriangle; }
0072
0073
0074 void SetSecondTriangle(const int theTriangle) { myTriangle2 = theTriangle; }
0075
0076 Standard_EXPORT void Dump(const int v) const;
0077
0078 private:
0079 int myPoint1;
0080 int myPoint2;
0081 int myTriangle1;
0082 int myTriangle2;
0083 };
0084
0085 #endif