// 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 _ShapeUpgrade_SplitSurfaceAngle_HeaderFile
#define _ShapeUpgrade_SplitSurfaceAngle_HeaderFile

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

#include <Standard_Real.hxx>
#include <ShapeUpgrade_SplitSurface.hxx>
#include <Standard_Boolean.hxx>


//! Splits a surfaces of revolution, cylindrical, toroidal,
//! conical, spherical so that each resulting segment covers
//! not more than defined number of degrees.
class ShapeUpgrade_SplitSurfaceAngle : public ShapeUpgrade_SplitSurface
{

public:

  
  //! Empty constructor.
  Standard_EXPORT ShapeUpgrade_SplitSurfaceAngle(const Standard_Real MaxAngle);
  
  //! Set maximal angle
  Standard_EXPORT   void SetMaxAngle (const Standard_Real MaxAngle) ;
  
  //! Returns maximal angle
  Standard_EXPORT   Standard_Real MaxAngle()  const;
  
  //! Performs splitting of the supporting surface(s).
  //! First defines splitting values, then calls inherited method.
  Standard_EXPORT virtual   void Compute (const Standard_Boolean Segment) ;




  DEFINE_STANDARD_RTTI(ShapeUpgrade_SplitSurfaceAngle)

protected:




private: 


  Standard_Real myMaxAngle;


};







#endif // _ShapeUpgrade_SplitSurfaceAngle_HeaderFile
