// 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_EdgesBlock_HeaderFile
#define _HLRAlgo_EdgesBlock_HeaderFile

#ifndef _Standard_HeaderFile
#include <Standard.hxx>
#endif
#ifndef _Handle_HLRAlgo_EdgesBlock_HeaderFile
#include <Handle_HLRAlgo_EdgesBlock.hxx>
#endif

#ifndef _TColStd_Array1OfInteger_HeaderFile
#include <TColStd_Array1OfInteger.hxx>
#endif
#ifndef _TColStd_Array1OfBoolean_HeaderFile
#include <TColStd_Array1OfBoolean.hxx>
#endif
#ifndef _Standard_Integer_HeaderFile
#include <Standard_Integer.hxx>
#endif
#ifndef _MMgt_TShared_HeaderFile
#include <MMgt_TShared.hxx>
#endif
#ifndef _TopAbs_Orientation_HeaderFile
#include <TopAbs_Orientation.hxx>
#endif
#ifndef _Standard_Boolean_HeaderFile
#include <Standard_Boolean.hxx>
#endif
#ifndef _Standard_Address_HeaderFile
#include <Standard_Address.hxx>
#endif


//! An EdgesBlock is a set of Edges. It is used by the <br>
//!          DataStructure to structure the Edges. <br>
//! <br>
//!          An EdgesBlock contains : <br>
//! <br>
//!          * An Array  of index of Edges. <br>
//! <br>
//!          * An Array of flagsf ( Orientation <br>
//!                                OutLine <br>
//!                                Internal <br>
//!                                Double <br>
//!                                IsoLine) <br>
class HLRAlgo_EdgesBlock : public MMgt_TShared {

public:
 // Methods PUBLIC
 // 

//! Create a Block of Edges for a wire. <br>
Standard_EXPORT HLRAlgo_EdgesBlock(const Standard_Integer NbEdges);

  Standard_Integer NbEdges() const;

  void Edge(const Standard_Integer I,const Standard_Integer EI) ;

  Standard_Integer Edge(const Standard_Integer I) const;

  void Orientation(const Standard_Integer I,const TopAbs_Orientation Or) ;

  TopAbs_Orientation Orientation(const Standard_Integer I) const;

  Standard_Boolean OutLine(const Standard_Integer I) const;

  void OutLine(const Standard_Integer I,const Standard_Boolean B) ;

  Standard_Boolean Internal(const Standard_Integer I) const;

  void Internal(const Standard_Integer I,const Standard_Boolean B) ;

  Standard_Boolean Double(const Standard_Integer I) const;

  void Double(const Standard_Integer I,const Standard_Boolean B) ;

  Standard_Boolean IsoLine(const Standard_Integer I) const;

  void IsoLine(const Standard_Integer I,const Standard_Boolean B) ;


Standard_EXPORT   void UpdateMinMax(const Standard_Address TotMinMax) ;

  Standard_Address MinMax() const;
//Standard_EXPORT ~HLRAlgo_EdgesBlock();




 // 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
 //
TColStd_Array1OfInteger myEdges;
TColStd_Array1OfBoolean myFlags;
Standard_Integer myMinMax[16];


};


#include <HLRAlgo_EdgesBlock.lxx>



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


#endif
