// This file is generated by WOK (CPPExt).
// Please do not edit this file; modify original file instead.
// The copyright and license terms as defined for the original file apply to 
// this header file considered to be the "object code" form of the original source.

#ifndef _BRepFill_NSections_HeaderFile
#define _BRepFill_NSections_HeaderFile

#include <Standard.hxx>
#include <Standard_DefineHandle.hxx>
#include <Handle_BRepFill_NSections.hxx>

#include <Standard_Real.hxx>
#include <TopTools_SequenceOfShape.hxx>
#include <GeomFill_SequenceOfTrsf.hxx>
#include <TColStd_SequenceOfReal.hxx>
#include <Handle_TopTools_HArray2OfShape.hxx>
#include <Handle_Geom_BSplineSurface.hxx>
#include <BRepFill_SectionLaw.hxx>
#include <Standard_Boolean.hxx>
#include <Handle_GeomFill_SectionLaw.hxx>
#include <GeomAbs_Shape.hxx>
#include <Standard_Integer.hxx>
class TopTools_HArray2OfShape;
class Geom_BSplineSurface;
class TopTools_SequenceOfShape;
class GeomFill_SequenceOfTrsf;
class TColStd_SequenceOfReal;
class GeomFill_SectionLaw;
class TopoDS_Vertex;
class TopoDS_Shape;


//! Build Section Law, with N Sections
class BRepFill_NSections : public BRepFill_SectionLaw
{

public:

  
  //! Construct
  Standard_EXPORT BRepFill_NSections(const TopTools_SequenceOfShape& S, const Standard_Boolean Build = Standard_True);
  
  //! Construct
  Standard_EXPORT BRepFill_NSections(const TopTools_SequenceOfShape& S, const GeomFill_SequenceOfTrsf& Trsfs, const TColStd_SequenceOfReal& P, const Standard_Real VF, const Standard_Real VL, const Standard_Boolean Build = Standard_True);
  
  //! Say if the input shape is a  vertex.
  Standard_EXPORT virtual   Standard_Boolean IsVertex()  const;
  
  //! Say if the Law is  Constant.
  Standard_EXPORT virtual   Standard_Boolean IsConstant()  const;
  
  //! Give the law build on a concatened section
  Standard_EXPORT virtual   Handle(GeomFill_SectionLaw) ConcatenedLaw()  const;
  
  Standard_EXPORT virtual   GeomAbs_Shape Continuity (const Standard_Integer Index, const Standard_Real TolAngular)  const;
  
  Standard_EXPORT virtual   Standard_Real VertexTol (const Standard_Integer Index, const Standard_Real Param)  const;
  
  Standard_EXPORT virtual   TopoDS_Vertex Vertex (const Standard_Integer Index, const Standard_Real Param)  const;
  
  Standard_EXPORT virtual   void D0 (const Standard_Real Param, TopoDS_Shape& S) ;




  DEFINE_STANDARD_RTTI(BRepFill_NSections)

protected:




private: 

  
  Standard_EXPORT   void Init (const TColStd_SequenceOfReal& P, const Standard_Boolean B) ;

  Standard_Real VFirst;
  Standard_Real VLast;
  TopTools_SequenceOfShape myShapes;
  GeomFill_SequenceOfTrsf myTrsfs;
  TColStd_SequenceOfReal myParams;
  Handle(TopTools_HArray2OfShape) myEdges;
  Handle(Geom_BSplineSurface) mySurface;


};







#endif // _BRepFill_NSections_HeaderFile
