File indexing completed on 2026-09-25 09:20:05
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017 #ifndef _HLRBRep_TheInterferenceOfInterCSurf_HeaderFile
0018 #define _HLRBRep_TheInterferenceOfInterCSurf_HeaderFile
0019
0020 #include <Standard.hxx>
0021 #include <Standard_DefineAlloc.hxx>
0022 #include <Standard_Handle.hxx>
0023
0024 #include <Standard_Boolean.hxx>
0025 #include <Intf_Interference.hxx>
0026 #include <gp_Lin.hxx>
0027 #include <NCollection_Array1.hxx>
0028 class HLRBRep_ThePolygonOfInterCSurf;
0029 class HLRBRep_ThePolygonToolOfInterCSurf;
0030 class HLRBRep_ThePolyhedronOfInterCSurf;
0031 class HLRBRep_ThePolyhedronToolOfInterCSurf;
0032 class gp_Lin;
0033 class Bnd_BoundSortBox;
0034 class gp_Pnt;
0035 class gp_XYZ;
0036
0037 class HLRBRep_TheInterferenceOfInterCSurf : public Intf_Interference
0038 {
0039 public:
0040 DEFINE_STANDARD_ALLOC
0041
0042
0043
0044 Standard_EXPORT HLRBRep_TheInterferenceOfInterCSurf();
0045
0046
0047
0048 Standard_EXPORT HLRBRep_TheInterferenceOfInterCSurf(
0049 const HLRBRep_ThePolygonOfInterCSurf& thePolyg,
0050 const HLRBRep_ThePolyhedronOfInterCSurf& thePolyh);
0051
0052
0053
0054 Standard_EXPORT HLRBRep_TheInterferenceOfInterCSurf(
0055 const gp_Lin& theLin,
0056 const HLRBRep_ThePolyhedronOfInterCSurf& thePolyh);
0057
0058
0059
0060 Standard_EXPORT HLRBRep_TheInterferenceOfInterCSurf(
0061 const NCollection_Array1<gp_Lin>& theLins,
0062 const HLRBRep_ThePolyhedronOfInterCSurf& thePolyh);
0063
0064
0065
0066 Standard_EXPORT void Perform(const HLRBRep_ThePolygonOfInterCSurf& thePolyg,
0067 const HLRBRep_ThePolyhedronOfInterCSurf& thePolyh);
0068
0069
0070
0071 Standard_EXPORT void Perform(const gp_Lin& theLin,
0072 const HLRBRep_ThePolyhedronOfInterCSurf& thePolyh);
0073
0074
0075
0076 Standard_EXPORT void Perform(const NCollection_Array1<gp_Lin>& theLins,
0077 const HLRBRep_ThePolyhedronOfInterCSurf& thePolyh);
0078
0079
0080
0081 Standard_EXPORT HLRBRep_TheInterferenceOfInterCSurf(
0082 const HLRBRep_ThePolygonOfInterCSurf& thePolyg,
0083 const HLRBRep_ThePolyhedronOfInterCSurf& thePolyh,
0084 Bnd_BoundSortBox& theBoundSB);
0085
0086
0087
0088 Standard_EXPORT HLRBRep_TheInterferenceOfInterCSurf(
0089 const gp_Lin& theLin,
0090 const HLRBRep_ThePolyhedronOfInterCSurf& thePolyh,
0091 Bnd_BoundSortBox& theBoundSB);
0092
0093
0094
0095 Standard_EXPORT HLRBRep_TheInterferenceOfInterCSurf(
0096 const NCollection_Array1<gp_Lin>& theLins,
0097 const HLRBRep_ThePolyhedronOfInterCSurf& thePolyh,
0098 Bnd_BoundSortBox& theBoundSB);
0099
0100
0101
0102 Standard_EXPORT void Perform(const HLRBRep_ThePolygonOfInterCSurf& thePolyg,
0103 const HLRBRep_ThePolyhedronOfInterCSurf& thePolyh,
0104 Bnd_BoundSortBox& theBoundSB);
0105
0106
0107
0108 Standard_EXPORT void Perform(const gp_Lin& theLin,
0109 const HLRBRep_ThePolyhedronOfInterCSurf& thePolyh,
0110 Bnd_BoundSortBox& theBoundSB);
0111
0112
0113
0114 Standard_EXPORT void Perform(const NCollection_Array1<gp_Lin>& theLins,
0115 const HLRBRep_ThePolyhedronOfInterCSurf& thePolyh,
0116 Bnd_BoundSortBox& theBoundSB);
0117
0118
0119
0120 Standard_EXPORT void Interference(const HLRBRep_ThePolygonOfInterCSurf& thePolyg,
0121 const HLRBRep_ThePolyhedronOfInterCSurf& thePolyh,
0122 Bnd_BoundSortBox& theBoundSB);
0123
0124
0125
0126 Standard_EXPORT void Interference(const HLRBRep_ThePolygonOfInterCSurf& thePolyg,
0127 const HLRBRep_ThePolyhedronOfInterCSurf& thePolyh);
0128
0129 private:
0130
0131
0132 Standard_EXPORT void Intersect(const gp_Pnt& BegO,
0133 const gp_Pnt& EndO,
0134 const bool Infinite,
0135 const int TTri,
0136 const HLRBRep_ThePolyhedronOfInterCSurf& thePolyh);
0137
0138
0139
0140 Standard_EXPORT void Intersect(const gp_Pnt& BegO,
0141 const gp_Pnt& EndO,
0142 const bool Infinite,
0143 const int TTri,
0144 const HLRBRep_ThePolyhedronOfInterCSurf& thePolyh,
0145 const gp_XYZ& TriNormal,
0146 const double TriDp,
0147 const double dBegTri,
0148 const double dEndTri);
0149
0150 bool BeginOfClosedPolygon;
0151 int iLin;
0152 };
0153
0154 #endif