File indexing completed on 2025-01-18 10:04:07
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_HArray1OfBox.hxx>
0025 #include <Standard_Integer.hxx>
0026 class Standard_OutOfRange;
0027 class IntCurveSurface_ThePolyhedronOfHInter;
0028 class Bnd_Box;
0029 class gp_Pnt;
0030
0031
0032
0033 class IntCurveSurface_ThePolyhedronToolOfHInter
0034 {
0035 public:
0036
0037 DEFINE_STANDARD_ALLOC
0038
0039
0040
0041 static const Bnd_Box& Bounding (const IntCurveSurface_ThePolyhedronOfHInter& thePolyh);
0042
0043
0044
0045 static const Handle(Bnd_HArray1OfBox)& ComponentsBounding (const IntCurveSurface_ThePolyhedronOfHInter& thePolyh);
0046
0047
0048 static Standard_Real DeflectionOverEstimation (const IntCurveSurface_ThePolyhedronOfHInter& thePolyh);
0049
0050
0051 static Standard_Integer NbTriangles (const IntCurveSurface_ThePolyhedronOfHInter& thePolyh);
0052
0053
0054
0055 static void Triangle (const IntCurveSurface_ThePolyhedronOfHInter& thePolyh, const Standard_Integer Index, Standard_Integer& P1, Standard_Integer& P2, Standard_Integer& P3);
0056
0057
0058 static const gp_Pnt& Point (const IntCurveSurface_ThePolyhedronOfHInter& thePolyh, const Standard_Integer Index);
0059
0060
0061
0062
0063
0064
0065
0066 static Standard_Integer TriConnex (const IntCurveSurface_ThePolyhedronOfHInter& thePolyh, const Standard_Integer Triang, const Standard_Integer Pivot, const Standard_Integer Pedge, Standard_Integer& TriCon, Standard_Integer& OtherP);
0067
0068
0069
0070
0071
0072 static Standard_Boolean IsOnBound (const IntCurveSurface_ThePolyhedronOfHInter& thePolyh, const Standard_Integer Index1, const Standard_Integer Index2);
0073
0074
0075 static Standard_Real GetBorderDeflection (const IntCurveSurface_ThePolyhedronOfHInter& thePolyh);
0076
0077 Standard_EXPORT static void Dump (const IntCurveSurface_ThePolyhedronOfHInter& thePolyh);
0078
0079
0080
0081
0082 protected:
0083
0084
0085
0086
0087
0088 private:
0089
0090
0091
0092
0093
0094 };
0095
0096 #define ThePolyhedron IntCurveSurface_ThePolyhedronOfHInter
0097 #define ThePolyhedron_hxx <IntCurveSurface_ThePolyhedronOfHInter.hxx>
0098 #define IntCurveSurface_PolyhedronTool IntCurveSurface_ThePolyhedronToolOfHInter
0099 #define IntCurveSurface_PolyhedronTool_hxx <IntCurveSurface_ThePolyhedronToolOfHInter.hxx>
0100
0101 #include <IntCurveSurface_PolyhedronTool.lxx>
0102
0103 #undef ThePolyhedron
0104 #undef ThePolyhedron_hxx
0105 #undef IntCurveSurface_PolyhedronTool
0106 #undef IntCurveSurface_PolyhedronTool_hxx
0107
0108
0109
0110
0111 #endif