// 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_EdgeData_HeaderFile
#define _HLRBRep_EdgeData_HeaderFile

#ifndef _Standard_Boolean_HeaderFile
#include <Standard_Boolean.hxx>
#endif
#ifndef _Standard_Integer_HeaderFile
#include <Standard_Integer.hxx>
#endif
#ifndef _HLRAlgo_EdgeStatus_HeaderFile
#include <HLRAlgo_EdgeStatus.hxx>
#endif
#ifndef _HLRBRep_Curve_HeaderFile
#include <HLRBRep_Curve.hxx>
#endif
#ifndef _Standard_ShortReal_HeaderFile
#include <Standard_ShortReal.hxx>
#endif
#ifndef _Standard_Real_HeaderFile
#include <Standard_Real.hxx>
#endif
#ifndef _Standard_Address_HeaderFile
#include <Standard_Address.hxx>
#endif
class TopoDS_Edge;
class HLRAlgo_EdgeStatus;
class HLRBRep_Curve;


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


class HLRBRep_EdgeData  {

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); 
      }
 // Methods PUBLIC
 // 


Standard_EXPORT HLRBRep_EdgeData();


Standard_EXPORT   void Set(const Standard_Boolean Reg1,const Standard_Boolean RegN,const TopoDS_Edge& EG,const Standard_Integer V1,const Standard_Integer V2,const Standard_Boolean Out1,const Standard_Boolean Out2,const Standard_Boolean Cut1,const Standard_Boolean Cut2,const Standard_Real Start,const Standard_ShortReal TolStart,const Standard_Real End,const Standard_ShortReal TolEnd) ;

  Standard_Boolean Selected() const;

  void Selected(const Standard_Boolean B) ;

  Standard_Boolean Rg1Line() const;

  void Rg1Line(const Standard_Boolean B) ;

  Standard_Boolean RgNLine() const;

  void RgNLine(const Standard_Boolean B) ;

  Standard_Boolean Vertical() const;

  void Vertical(const Standard_Boolean B) ;

  Standard_Boolean Simple() const;

  void Simple(const Standard_Boolean B) ;

  Standard_Boolean OutLVSta() const;

  void OutLVSta(const Standard_Boolean B) ;

  Standard_Boolean OutLVEnd() const;

  void OutLVEnd(const Standard_Boolean B) ;

  Standard_Boolean CutAtSta() const;

  void CutAtSta(const Standard_Boolean B) ;

  Standard_Boolean CutAtEnd() const;

  void CutAtEnd(const Standard_Boolean B) ;

  Standard_Boolean VerAtSta() const;

  void VerAtSta(const Standard_Boolean B) ;

  Standard_Boolean VerAtEnd() const;

  void VerAtEnd(const Standard_Boolean B) ;

  Standard_Boolean AutoIntersectionDone() const;

  void AutoIntersectionDone(const Standard_Boolean B) ;

  Standard_Boolean Used() const;

  void Used(const Standard_Boolean B) ;

  Standard_Integer HideCount() const;

  void HideCount(const Standard_Integer I) ;

  Standard_Integer VSta() const;

  void VSta(const Standard_Integer I) ;

  Standard_Integer VEnd() const;

  void VEnd(const Standard_Integer I) ;


Standard_EXPORT   void UpdateMinMax(const Standard_Address TotMinMax) ;

  Standard_Address MinMax() const;

  HLRAlgo_EdgeStatus& Status() ;

  HLRBRep_Curve& ChangeGeometry() ;

 const HLRBRep_Curve& Geometry() const;

  Standard_Address Curve() ;

  Standard_ShortReal Tolerance() const;





protected:

 // Methods PROTECTED
 // 


 // Fields PROTECTED
 //


private: 

 // Methods PRIVATE
 // 


 // Fields PRIVATE
 //
Standard_Boolean myFlags;
Standard_Integer myHideCount;
Standard_Integer myVSta;
Standard_Integer myVEnd;
Standard_Integer myMinMax[16];
HLRAlgo_EdgeStatus myStatus;
HLRBRep_Curve myGeometry;
Standard_ShortReal myTolerance;


};


#include <HLRBRep_EdgeData.lxx>



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


#endif
