Back to home page

EIC code displayed by LXR

 
 

    


Warning, file /include/opencascade/IntPatch_TheSearchInside.hxx was not indexed or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).

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