// File generated by CPPExt (Transient)
//
//
//                     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 _HLRAlgo_PolyInternalData_HeaderFile
#define _HLRAlgo_PolyInternalData_HeaderFile

#ifndef _Standard_HeaderFile
#include <Standard.hxx>
#endif
#ifndef _Handle_HLRAlgo_PolyInternalData_HeaderFile
#include <Handle_HLRAlgo_PolyInternalData.hxx>
#endif

#ifndef _Standard_Integer_HeaderFile
#include <Standard_Integer.hxx>
#endif
#ifndef _Standard_Boolean_HeaderFile
#include <Standard_Boolean.hxx>
#endif
#ifndef _Handle_HLRAlgo_HArray1OfTData_HeaderFile
#include <Handle_HLRAlgo_HArray1OfTData.hxx>
#endif
#ifndef _Handle_HLRAlgo_HArray1OfPISeg_HeaderFile
#include <Handle_HLRAlgo_HArray1OfPISeg.hxx>
#endif
#ifndef _Handle_HLRAlgo_HArray1OfPINod_HeaderFile
#include <Handle_HLRAlgo_HArray1OfPINod.hxx>
#endif
#ifndef _MMgt_TShared_HeaderFile
#include <MMgt_TShared.hxx>
#endif
#ifndef _Standard_Address_HeaderFile
#include <Standard_Address.hxx>
#endif
#ifndef _Standard_Real_HeaderFile
#include <Standard_Real.hxx>
#endif
class HLRAlgo_HArray1OfTData;
class HLRAlgo_HArray1OfPISeg;
class HLRAlgo_HArray1OfPINod;
class HLRAlgo_Array1OfTData;
class HLRAlgo_Array1OfPISeg;
class HLRAlgo_Array1OfPINod;



class HLRAlgo_PolyInternalData : public MMgt_TShared {

public:
 // Methods PUBLIC
 // 


Standard_EXPORT HLRAlgo_PolyInternalData(const Standard_Integer nbNod,const Standard_Integer nbTri);


Standard_EXPORT   void UpdateLinks(Standard_Address& TData,Standard_Address& PISeg,Standard_Address& PINod) ;


Standard_EXPORT   Standard_Integer AddNode(const Standard_Address Nod1RValues,const Standard_Address Nod2RValues,Standard_Address& PINod1,Standard_Address& PINod2,const Standard_Real coef1,const Standard_Real X3,const Standard_Real Y3,const Standard_Real Z3) ;


Standard_EXPORT   void UpdateLinks(const Standard_Integer ip1,const Standard_Integer ip2,const Standard_Integer ip3,Standard_Address& TData1,Standard_Address& TData2,Standard_Address& PISeg1,Standard_Address& PISeg2,Standard_Address& PINod1,Standard_Address& PINod2) ;


Standard_EXPORT   void Dump() const;


Standard_EXPORT   void IncTData(Standard_Address& TData1,Standard_Address& TData2) ;


Standard_EXPORT   void IncPISeg(Standard_Address& PISeg1,Standard_Address& PISeg2) ;


Standard_EXPORT   void IncPINod(Standard_Address& PINod1,Standard_Address& PINod2) ;

  void DecTData() ;

  void DecPISeg() ;

  void DecPINod() ;

  Standard_Integer NbTData() const;

  Standard_Integer NbPISeg() const;

  Standard_Integer NbPINod() const;

  Standard_Boolean Planar() const;

  void Planar(const Standard_Boolean B) ;

  Standard_Boolean IntOutL() const;

  void IntOutL(const Standard_Boolean B) ;

  HLRAlgo_Array1OfTData& TData() const;

  HLRAlgo_Array1OfPISeg& PISeg() const;

  HLRAlgo_Array1OfPINod& PINod() const;
//Standard_EXPORT ~HLRAlgo_PolyInternalData();




 // Type management
 //
 Standard_EXPORT const Handle(Standard_Type)& DynamicType() const;
 //Standard_EXPORT Standard_Boolean	       IsKind(const Handle(Standard_Type)&) const;

protected:

 // Methods PROTECTED
 // 


 // Fields PROTECTED
 //


private: 

 // Methods PRIVATE
 // 


 // Fields PRIVATE
 //
Standard_Integer myNbTData;
Standard_Integer myNbPISeg;
Standard_Integer myNbPINod;
Standard_Integer myMxTData;
Standard_Integer myMxPISeg;
Standard_Integer myMxPINod;
Standard_Boolean myIntOutL;
Standard_Boolean myPlanar;
Handle_HLRAlgo_HArray1OfTData myTData;
Handle_HLRAlgo_HArray1OfPISeg myPISeg;
Handle_HLRAlgo_HArray1OfPINod myPINod;


};


#include <HLRAlgo_PolyInternalData.lxx>



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


#endif
