File indexing completed on 2026-11-17 10:19:56
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017 #ifndef _IntCurveSurface_ThePolyhedronToolOfHInter_HeaderFile
0018 #define _IntCurveSurface_ThePolyhedronToolOfHInter_HeaderFile
0019
0020 #include <Standard.hxx>
0021 #include <Standard_DefineAlloc.hxx>
0022 #include <Standard_Handle.hxx>
0023
0024 #include <Bnd_Box.hxx>
0025 #include <NCollection_Array1.hxx>
0026 #include <NCollection_HArray1.hxx>
0027 #include <gp_Pnt.hxx>
0028 #include <IntCurveSurface_ThePolyhedronOfHInter.hxx>
0029
0030 class IntCurveSurface_ThePolyhedronToolOfHInter
0031 {
0032 public:
0033 DEFINE_STANDARD_ALLOC
0034
0035
0036 static const Bnd_Box& Bounding(const IntCurveSurface_ThePolyhedronOfHInter& thePolyh)
0037 {
0038 return thePolyh.Bounding();
0039 }
0040
0041
0042
0043 static const occ::handle<NCollection_HArray1<Bnd_Box>>& ComponentsBounding(
0044 const IntCurveSurface_ThePolyhedronOfHInter& thePolyh)
0045 {
0046 return thePolyh.ComponentsBounding();
0047 }
0048
0049
0050 static double DeflectionOverEstimation(const IntCurveSurface_ThePolyhedronOfHInter& thePolyh)
0051 {
0052 return thePolyh.DeflectionOverEstimation();
0053 }
0054
0055
0056 static int NbTriangles(const IntCurveSurface_ThePolyhedronOfHInter& thePolyh)
0057 {
0058 return thePolyh.NbTriangles();
0059 }
0060
0061
0062
0063 static void Triangle(const IntCurveSurface_ThePolyhedronOfHInter& thePolyh,
0064 const int Index,
0065 int& P1,
0066 int& P2,
0067 int& P3)
0068 {
0069 thePolyh.Triangle(Index, P1, P2, P3);
0070 }
0071
0072
0073 static const gp_Pnt& Point(const IntCurveSurface_ThePolyhedronOfHInter& thePolyh, const int Index)
0074 {
0075 return thePolyh.Point(Index);
0076 }
0077
0078
0079
0080
0081
0082
0083
0084 static int TriConnex(const IntCurveSurface_ThePolyhedronOfHInter& thePolyh,
0085 const int Triang,
0086 const int Pivot,
0087 const int Pedge,
0088 int& TriCon,
0089 int& OtherP)
0090 {
0091 return thePolyh.TriConnex(Triang, Pivot, Pedge, TriCon, OtherP);
0092 }
0093
0094
0095
0096
0097
0098 static bool IsOnBound(const IntCurveSurface_ThePolyhedronOfHInter& thePolyh,
0099 const int Index1,
0100 const int Index2)
0101 {
0102 return thePolyh.IsOnBound(Index1, Index2);
0103 }
0104
0105
0106 static double GetBorderDeflection(const IntCurveSurface_ThePolyhedronOfHInter& thePolyh)
0107 {
0108 return thePolyh.GetBorderDeflection();
0109 }
0110
0111 Standard_EXPORT static void Dump(const IntCurveSurface_ThePolyhedronOfHInter& thePolyh);
0112 };
0113
0114 #endif