// File generated by CPPExt (Value)
//
//                     Copyright (C) 1991 - 2000 by  
//                      Matra Datavision SA.  All rights reserved.
//  
//                     Copyright (C) 2001 - 2004 by
//                     Open CASCADE SA.  All rights reserved.
// 
// This file is part of the Open CASCADE Technology software.
//
// This software may be distributed and/or modified under the terms and
// conditions of the Open CASCADE Public License as defined by Open CASCADE SA
// and appearing in the file LICENSE included in the packaging of this file.
//  
// This software is distributed on an "AS IS" basis, without warranty of any
// kind, and Open CASCADE SA hereby disclaims all such warranties,
// including without limitation, any warranties of merchantability, fitness
// for a particular purpose or non-infringement. Please see the License for
// the specific terms and conditions governing rights and limitations under the
// License.

#ifndef _HLRBRep_TheInterferenceOfInterCSurf_HeaderFile
#define _HLRBRep_TheInterferenceOfInterCSurf_HeaderFile

#ifndef _Standard_HeaderFile
#include <Standard.hxx>
#endif
#ifndef _Standard_Macro_HeaderFile
#include <Standard_Macro.hxx>
#endif

#ifndef _Standard_Boolean_HeaderFile
#include <Standard_Boolean.hxx>
#endif
#ifndef _Standard_Integer_HeaderFile
#include <Standard_Integer.hxx>
#endif
#ifndef _Intf_Interference_HeaderFile
#include <Intf_Interference.hxx>
#endif
#ifndef _Standard_Real_HeaderFile
#include <Standard_Real.hxx>
#endif
class HLRBRep_ThePolygonOfInterCSurf;
class HLRBRep_ThePolygonToolOfInterCSurf;
class HLRBRep_ThePolyhedronOfInterCSurf;
class HLRBRep_ThePolyhedronToolOfInterCSurf;
class gp_Lin;
class Intf_Array1OfLin;
class Bnd_BoundSortBox;
class gp_Pnt;
class gp_XYZ;



class HLRBRep_TheInterferenceOfInterCSurf  : public Intf_Interference {
public:

  void* operator new(size_t,void* anAddress) 
  {
    return anAddress;
  }
  void* operator new(size_t size) 
  {
    return Standard::Allocate(size); 
  }
  void  operator delete(void *anAddress) 
  {
    if (anAddress) Standard::Free((Standard_Address&)anAddress); 
  }

  
  Standard_EXPORT   HLRBRep_TheInterferenceOfInterCSurf();
  
  Standard_EXPORT   HLRBRep_TheInterferenceOfInterCSurf(const HLRBRep_ThePolygonOfInterCSurf& thePolyg,const HLRBRep_ThePolyhedronOfInterCSurf& thePolyh);
  
  Standard_EXPORT   HLRBRep_TheInterferenceOfInterCSurf(const gp_Lin& theLin,const HLRBRep_ThePolyhedronOfInterCSurf& thePolyh);
  
  Standard_EXPORT   HLRBRep_TheInterferenceOfInterCSurf(const Intf_Array1OfLin& theLins,const HLRBRep_ThePolyhedronOfInterCSurf& thePolyh);
  
  Standard_EXPORT     void Perform(const HLRBRep_ThePolygonOfInterCSurf& thePolyg,const HLRBRep_ThePolyhedronOfInterCSurf& thePolyh) ;
  
  Standard_EXPORT     void Perform(const gp_Lin& theLin,const HLRBRep_ThePolyhedronOfInterCSurf& thePolyh) ;
  
  Standard_EXPORT     void Perform(const Intf_Array1OfLin& theLins,const HLRBRep_ThePolyhedronOfInterCSurf& thePolyh) ;
  
  Standard_EXPORT   HLRBRep_TheInterferenceOfInterCSurf(const HLRBRep_ThePolygonOfInterCSurf& thePolyg,const HLRBRep_ThePolyhedronOfInterCSurf& thePolyh,Bnd_BoundSortBox& theBoundSB);
  
  Standard_EXPORT   HLRBRep_TheInterferenceOfInterCSurf(const gp_Lin& theLin,const HLRBRep_ThePolyhedronOfInterCSurf& thePolyh,Bnd_BoundSortBox& theBoundSB);
  
  Standard_EXPORT   HLRBRep_TheInterferenceOfInterCSurf(const Intf_Array1OfLin& theLins,const HLRBRep_ThePolyhedronOfInterCSurf& thePolyh,Bnd_BoundSortBox& theBoundSB);
  
  Standard_EXPORT     void Perform(const HLRBRep_ThePolygonOfInterCSurf& thePolyg,const HLRBRep_ThePolyhedronOfInterCSurf& thePolyh,Bnd_BoundSortBox& theBoundSB) ;
  
  Standard_EXPORT     void Perform(const gp_Lin& theLin,const HLRBRep_ThePolyhedronOfInterCSurf& thePolyh,Bnd_BoundSortBox& theBoundSB) ;
  
  Standard_EXPORT     void Perform(const Intf_Array1OfLin& theLins,const HLRBRep_ThePolyhedronOfInterCSurf& thePolyh,Bnd_BoundSortBox& theBoundSB) ;
  
  Standard_EXPORT     void Interference(const HLRBRep_ThePolygonOfInterCSurf& thePolyg,const HLRBRep_ThePolyhedronOfInterCSurf& thePolyh,Bnd_BoundSortBox& theBoundSB) ;
  
  Standard_EXPORT     void Interference(const HLRBRep_ThePolygonOfInterCSurf& thePolyg,const HLRBRep_ThePolyhedronOfInterCSurf& thePolyh) ;





protected:





private:

  
  Standard_EXPORT     void Intersect(const gp_Pnt& BegO,const gp_Pnt& EndO,const Standard_Boolean Infinite,const Standard_Integer TTri,const HLRBRep_ThePolyhedronOfInterCSurf& thePolyh) ;
  
  Standard_EXPORT     void Intersect(const gp_Pnt& BegO,const gp_Pnt& EndO,const Standard_Boolean Infinite,const Standard_Integer TTri,const HLRBRep_ThePolyhedronOfInterCSurf& thePolyh,const gp_XYZ& TriNormal,const Standard_Real TriDp,const Standard_Real dBegTri,const Standard_Real dEndTri) ;


Standard_Boolean BeginOfClosedPolygon;
Standard_Integer iLin;


};





// other Inline functions and methods (like "C++: function call" methods)


#endif
