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

#ifndef _Standard_HeaderFile
#include <Standard.hxx>
#endif
#ifndef _Handle_BRep_PointRepresentation_HeaderFile
#include <Handle_BRep_PointRepresentation.hxx>
#endif

#ifndef _TopLoc_Location_HeaderFile
#include <TopLoc_Location.hxx>
#endif
#ifndef _Standard_Real_HeaderFile
#include <Standard_Real.hxx>
#endif
#ifndef _MMgt_TShared_HeaderFile
#include <MMgt_TShared.hxx>
#endif
#ifndef _Standard_Boolean_HeaderFile
#include <Standard_Boolean.hxx>
#endif
#ifndef _Handle_Geom_Curve_HeaderFile
#include <Handle_Geom_Curve.hxx>
#endif
#ifndef _Handle_Geom2d_Curve_HeaderFile
#include <Handle_Geom2d_Curve.hxx>
#endif
#ifndef _Handle_Geom_Surface_HeaderFile
#include <Handle_Geom_Surface.hxx>
#endif
class Standard_DomainError;
class TopLoc_Location;
class Geom_Curve;
class Geom2d_Curve;
class Geom_Surface;


//! Root  class     for   the points  representations. <br>
//!          Contains a location and a parameter. <br>
class BRep_PointRepresentation : public MMgt_TShared {

public:
 // Methods PUBLIC
 // 

//! A point on a 3d curve. <br>
Standard_EXPORT virtual  Standard_Boolean IsPointOnCurve() const;

//! A point on a 2d curve on a surface. <br>
Standard_EXPORT virtual  Standard_Boolean IsPointOnCurveOnSurface() const;

//! A point on a surface. <br>
Standard_EXPORT virtual  Standard_Boolean IsPointOnSurface() const;

//! A point on the curve <C>. <br>
Standard_EXPORT virtual  Standard_Boolean IsPointOnCurve(const Handle(Geom_Curve)& C,const TopLoc_Location& L) const;

//! A point on the 2d curve <PC> on the surface <S>. <br>
Standard_EXPORT virtual  Standard_Boolean IsPointOnCurveOnSurface(const Handle(Geom2d_Curve)& PC,const Handle(Geom_Surface)& S,const TopLoc_Location& L) const;

//! A point on the surface <S>. <br>
Standard_EXPORT virtual  Standard_Boolean IsPointOnSurface(const Handle(Geom_Surface)& S,const TopLoc_Location& L) const;

 const TopLoc_Location& Location() const;

  void Location(const TopLoc_Location& L) ;

  Standard_Real Parameter() const;

  void Parameter(const Standard_Real P) ;


Standard_EXPORT virtual  Standard_Real Parameter2() const;


Standard_EXPORT virtual  void Parameter2(const Standard_Real P) ;


Standard_EXPORT virtual const Handle_Geom_Curve& Curve() const;


Standard_EXPORT virtual  void Curve(const Handle(Geom_Curve)& C) ;


Standard_EXPORT virtual const Handle_Geom2d_Curve& PCurve() const;


Standard_EXPORT virtual  void PCurve(const Handle(Geom2d_Curve)& C) ;


Standard_EXPORT virtual const Handle_Geom_Surface& Surface() const;


Standard_EXPORT virtual  void Surface(const Handle(Geom_Surface)& S) ;
//Standard_EXPORT ~BRep_PointRepresentation();




 // Type management
 //
 Standard_EXPORT const Handle(Standard_Type)& DynamicType() const;
 //Standard_EXPORT Standard_Boolean	       IsKind(const Handle(Standard_Type)&) const;

protected:

 // Methods PROTECTED
 // 


Standard_EXPORT BRep_PointRepresentation(const Standard_Real P,const TopLoc_Location& L);


 // Fields PROTECTED
 //


private: 

 // Methods PRIVATE
 // 


 // Fields PRIVATE
 //
TopLoc_Location myLocation;
Standard_Real myParameter;


};


#include <BRep_PointRepresentation.lxx>



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


#endif
