Back to home page

EIC code displayed by LXR

 
 

    


Warning, file /include/opencascade/Contap_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: 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   DEFINE_STANDARD_ALLOC
0033 
0034   Standard_EXPORT Contap_TheSearchInside();
0035 
0036   Standard_EXPORT Contap_TheSearchInside(Contap_SurfFunction&               F,
0037                                          const Handle(Adaptor3d_Surface)&   Surf,
0038                                          const Handle(Adaptor3d_TopolTool)& T,
0039                                          const Standard_Real                Epsilon);
0040 
0041   Standard_EXPORT void Perform(Contap_SurfFunction&               F,
0042                                const Handle(Adaptor3d_Surface)&   Surf,
0043                                const Handle(Adaptor3d_TopolTool)& T,
0044                                const Standard_Real                Epsilon);
0045 
0046   Standard_EXPORT void Perform(Contap_SurfFunction&             F,
0047                                const Handle(Adaptor3d_Surface)& Surf,
0048                                const Standard_Real              UStart,
0049                                const Standard_Real              VStart);
0050 
0051   Standard_Boolean IsDone() const;
0052 
0053   //! Returns the number of points.
0054   //! The exception NotDone if raised if IsDone
0055   //! returns False.
0056   Standard_Integer 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 Standard_Integer Index) const;
0064 
0065 protected:
0066 private:
0067   Standard_Boolean                done;
0068   IntSurf_SequenceOfInteriorPoint list;
0069 };
0070 
0071 #define ThePSurface Handle(Adaptor3d_Surface)
0072 #define ThePSurface_hxx <Adaptor3d_Surface.hxx>
0073 #define ThePSurfaceTool Adaptor3d_HSurfaceTool
0074 #define ThePSurfaceTool_hxx <Adaptor3d_HSurfaceTool.hxx>
0075 #define Handle_TheTopolTool Handle(Adaptor3d_TopolTool)
0076 #define TheTopolTool Adaptor3d_TopolTool
0077 #define TheTopolTool_hxx <Adaptor3d_TopolTool.hxx>
0078 #define TheSITool Contap_HContTool
0079 #define TheSITool_hxx <Contap_HContTool.hxx>
0080 #define TheFunction Contap_SurfFunction
0081 #define TheFunction_hxx <Contap_SurfFunction.hxx>
0082 #define IntStart_SearchInside Contap_TheSearchInside
0083 #define IntStart_SearchInside_hxx <Contap_TheSearchInside.hxx>
0084 
0085 #include <IntStart_SearchInside.lxx>
0086 
0087 #undef ThePSurface
0088 #undef ThePSurface_hxx
0089 #undef ThePSurfaceTool
0090 #undef ThePSurfaceTool_hxx
0091 #undef Handle_TheTopolTool
0092 #undef TheTopolTool
0093 #undef TheTopolTool_hxx
0094 #undef TheSITool
0095 #undef TheSITool_hxx
0096 #undef TheFunction
0097 #undef TheFunction_hxx
0098 #undef IntStart_SearchInside
0099 #undef IntStart_SearchInside_hxx
0100 
0101 #endif // _Contap_TheSearchInside_HeaderFile