Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 10:04:09

0001 // Created on: 1992-05-06
0002 // Created by: Jacques GOUSSARD
0003 // Copyright (c) 1992-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 _IntPatch_TheSearchInside_HeaderFile
0018 #define _IntPatch_TheSearchInside_HeaderFile
0019 
0020 #include <Adaptor3d_Surface.hxx>
0021 #include <IntSurf_SequenceOfInteriorPoint.hxx>
0022 
0023 class Adaptor3d_HSurfaceTool;
0024 class Adaptor3d_TopolTool;
0025 class IntPatch_HInterTool;
0026 class IntPatch_TheSurfFunction;
0027 
0028 class IntPatch_TheSearchInside 
0029 {
0030 public:
0031 
0032   DEFINE_STANDARD_ALLOC
0033 
0034   
0035   Standard_EXPORT IntPatch_TheSearchInside();
0036   
0037   Standard_EXPORT IntPatch_TheSearchInside(IntPatch_TheSurfFunction& F, const Handle(Adaptor3d_Surface)& Surf, const Handle(Adaptor3d_TopolTool)& T, const Standard_Real Epsilon);
0038   
0039   Standard_EXPORT void Perform (IntPatch_TheSurfFunction& F, const Handle(Adaptor3d_Surface)& Surf, const Handle(Adaptor3d_TopolTool)& T, const Standard_Real Epsilon);
0040   
0041   Standard_EXPORT void Perform (IntPatch_TheSurfFunction& F, const Handle(Adaptor3d_Surface)& Surf, const Standard_Real UStart, const Standard_Real VStart);
0042   
0043     Standard_Boolean IsDone() const;
0044   
0045   //! Returns the number of points.
0046   //! The exception NotDone if raised if IsDone
0047   //! returns False.
0048     Standard_Integer NbPoints() const;
0049   
0050   //! Returns the point of range Index.
0051   //! The exception NotDone if raised if IsDone
0052   //! returns False.
0053   //! The exception OutOfRange if raised if
0054   //! Index <= 0 or Index > NbPoints.
0055     const IntSurf_InteriorPoint& Value (const Standard_Integer Index) const;
0056 
0057 
0058 
0059 
0060 protected:
0061 
0062 
0063 
0064 
0065 
0066 private:
0067 
0068 
0069 
0070   Standard_Boolean done;
0071   IntSurf_SequenceOfInteriorPoint list;
0072 
0073 
0074 };
0075 
0076 #define ThePSurface Handle(Adaptor3d_Surface)
0077 #define ThePSurface_hxx <Adaptor3d_Surface.hxx>
0078 #define ThePSurfaceTool Adaptor3d_HSurfaceTool
0079 #define ThePSurfaceTool_hxx <Adaptor3d_HSurfaceTool.hxx>
0080 #define Handle_TheTopolTool Handle(Adaptor3d_TopolTool)
0081 #define TheTopolTool Adaptor3d_TopolTool
0082 #define TheTopolTool_hxx <Adaptor3d_TopolTool.hxx>
0083 #define TheSITool IntPatch_HInterTool
0084 #define TheSITool_hxx <IntPatch_HInterTool.hxx>
0085 #define TheFunction IntPatch_TheSurfFunction
0086 #define TheFunction_hxx <IntPatch_TheSurfFunction.hxx>
0087 #define IntStart_SearchInside IntPatch_TheSearchInside
0088 #define IntStart_SearchInside_hxx <IntPatch_TheSearchInside.hxx>
0089 
0090 #include <IntStart_SearchInside.lxx>
0091 
0092 #undef ThePSurface
0093 #undef ThePSurface_hxx
0094 #undef ThePSurfaceTool
0095 #undef ThePSurfaceTool_hxx
0096 #undef Handle_TheTopolTool
0097 #undef TheTopolTool
0098 #undef TheTopolTool_hxx
0099 #undef TheSITool
0100 #undef TheSITool_hxx
0101 #undef TheFunction
0102 #undef TheFunction_hxx
0103 #undef IntStart_SearchInside
0104 #undef IntStart_SearchInside_hxx
0105 
0106 
0107 
0108 
0109 #endif // _IntPatch_TheSearchInside_HeaderFile