Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 10:03:22

0001 // Created on: 1993-02-05
0002 // Created by: Jacques GOUSSARD
0003 // Copyright (c) 1993-1999 Matra Datavision
0004 // Copyright (c) 1999-2014 OPEN CASCADE SAS
0005 //
0006 // This file is part of Open CASCADE Technology software library.
0007 //
0008 // This library is free software; you can redistribute it and/or modify it under
0009 // the terms of the GNU Lesser General Public License version 2.1 as published
0010 // by the Free Software Foundation, with special exception defined in the file
0011 // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
0012 // distribution for complete text of the license and disclaimer of any warranty.
0013 //
0014 // Alternatively, this file may be used under the terms of Open CASCADE
0015 // commercial license or contractual agreement.
0016 
0017 #ifndef _Contap_TheSearchInside_HeaderFile
0018 #define _Contap_TheSearchInside_HeaderFile
0019 
0020 #include <Adaptor3d_Surface.hxx>
0021 #include <IntSurf_SequenceOfInteriorPoint.hxx>
0022 
0023 class Adaptor3d_HSurfaceTool;
0024 class Adaptor3d_TopolTool;
0025 class Contap_HContTool;
0026 class Contap_SurfFunction;
0027 class IntSurf_InteriorPoint;
0028 
0029 class Contap_TheSearchInside 
0030 {
0031 public:
0032 
0033   DEFINE_STANDARD_ALLOC
0034 
0035   
0036   Standard_EXPORT Contap_TheSearchInside();
0037   
0038   Standard_EXPORT Contap_TheSearchInside(Contap_SurfFunction& F, const Handle(Adaptor3d_Surface)& Surf, const Handle(Adaptor3d_TopolTool)& T, const Standard_Real Epsilon);
0039   
0040   Standard_EXPORT void Perform (Contap_SurfFunction& F, const Handle(Adaptor3d_Surface)& Surf, const Handle(Adaptor3d_TopolTool)& T, const Standard_Real Epsilon);
0041   
0042   Standard_EXPORT void Perform (Contap_SurfFunction& F, const Handle(Adaptor3d_Surface)& Surf, const Standard_Real UStart, const Standard_Real VStart);
0043   
0044     Standard_Boolean IsDone() const;
0045   
0046   //! Returns the number of points.
0047   //! The exception NotDone if raised if IsDone
0048   //! returns False.
0049     Standard_Integer NbPoints() const;
0050   
0051   //! Returns the point of range Index.
0052   //! The exception NotDone if raised if IsDone
0053   //! returns False.
0054   //! The exception OutOfRange if raised if
0055   //! Index <= 0 or Index > NbPoints.
0056     const IntSurf_InteriorPoint& Value (const Standard_Integer Index) const;
0057 
0058 
0059 
0060 
0061 protected:
0062 
0063 
0064 
0065 
0066 
0067 private:
0068 
0069 
0070 
0071   Standard_Boolean done;
0072   IntSurf_SequenceOfInteriorPoint list;
0073 
0074 
0075 };
0076 
0077 #define ThePSurface Handle(Adaptor3d_Surface)
0078 #define ThePSurface_hxx <Adaptor3d_Surface.hxx>
0079 #define ThePSurfaceTool Adaptor3d_HSurfaceTool
0080 #define ThePSurfaceTool_hxx <Adaptor3d_HSurfaceTool.hxx>
0081 #define Handle_TheTopolTool Handle(Adaptor3d_TopolTool)
0082 #define TheTopolTool Adaptor3d_TopolTool
0083 #define TheTopolTool_hxx <Adaptor3d_TopolTool.hxx>
0084 #define TheSITool Contap_HContTool
0085 #define TheSITool_hxx <Contap_HContTool.hxx>
0086 #define TheFunction Contap_SurfFunction
0087 #define TheFunction_hxx <Contap_SurfFunction.hxx>
0088 #define IntStart_SearchInside Contap_TheSearchInside
0089 #define IntStart_SearchInside_hxx <Contap_TheSearchInside.hxx>
0090 
0091 #include <IntStart_SearchInside.lxx>
0092 
0093 #undef ThePSurface
0094 #undef ThePSurface_hxx
0095 #undef ThePSurfaceTool
0096 #undef ThePSurfaceTool_hxx
0097 #undef Handle_TheTopolTool
0098 #undef TheTopolTool
0099 #undef TheTopolTool_hxx
0100 #undef TheSITool
0101 #undef TheSITool_hxx
0102 #undef TheFunction
0103 #undef TheFunction_hxx
0104 #undef IntStart_SearchInside
0105 #undef IntStart_SearchInside_hxx
0106 
0107 
0108 
0109 
0110 #endif // _Contap_TheSearchInside_HeaderFile