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

#include <Standard.hxx>
#include <Standard_DefineAlloc.hxx>
#include <Standard_Macro.hxx>

#include <Standard_Real.hxx>
#include <gp_Pnt.hxx>
class gp_Pnt;


//! Definition of a point on surface.
class Extrema_POnSurf 
{
public:

  DEFINE_STANDARD_ALLOC

  
  //! Creation of an indefinite point on surface.
    Extrema_POnSurf();
  
  //! Creation of a point on surface with parameter
  //! values on the surface and a Pnt from gp.
    Extrema_POnSurf(const Standard_Real U, const Standard_Real V, const gp_Pnt& P);
  
  //! Returns the 3d point.
     const  gp_Pnt& Value()  const;
  
  //! Sets the params of current POnSurf instance.
  //! (e.g. to the point to be projected).
      void SetParameters (const Standard_Real theU, const Standard_Real theV, const gp_Pnt& thePnt) ;
  
  //! Returns the parameter values on the surface.
      void Parameter (Standard_Real& U, Standard_Real& V)  const;




protected:





private:



  Standard_Real myU;
  Standard_Real myV;
  gp_Pnt myP;


};


#include <Extrema_POnSurf.lxx>





#endif // _Extrema_POnSurf_HeaderFile
