// Created on: 1992-05-06 // Created by: Jacques GOUSSARD // Copyright (c) 1992-1999 Matra Datavision // Copyright (c) 1999-2014 OPEN CASCADE SAS // // This file is part of Open CASCADE Technology software library. // // This library is free software; you can redistribute it and/or modify it under // the terms of the GNU Lesser General Public License version 2.1 as published // by the Free Software Foundation, with special exception defined in the file // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT // distribution for complete text of the license and disclaimer of any warranty. // // Alternatively, this file may be used under the terms of Open CASCADE // commercial license or contractual agreement. #ifndef _IntPatch_TheSearchInside_HeaderFile #define _IntPatch_TheSearchInside_HeaderFile #include "Adaptor3d_Surface.hxx" #include "IntSurf_InteriorPoint.hxx" #include "NCollection_Sequence.hxx" class Adaptor3d_HSurfaceTool; class Adaptor3d_TopolTool; class IntPatch_HInterTool; class IntPatch_TheSurfFunction; class IntPatch_TheSearchInside { public: DEFINE_STANDARD_ALLOC Standard_EXPORT IntPatch_TheSearchInside(); Standard_EXPORT IntPatch_TheSearchInside(IntPatch_TheSurfFunction& F, const occ::handle& Surf, const occ::handle& T, const double Epsilon); Standard_EXPORT void Perform(IntPatch_TheSurfFunction& F, const occ::handle& Surf, const occ::handle& T, const double Epsilon); Standard_EXPORT void Perform(IntPatch_TheSurfFunction& F, const occ::handle& Surf, const double UStart, const double VStart); bool IsDone() const; //! Returns the number of points. //! The exception NotDone if raised if IsDone //! returns False. int NbPoints() const; //! Returns the point of range Index. //! The exception NotDone if raised if IsDone //! returns False. //! The exception OutOfRange if raised if //! Index <= 0 or Index > NbPoints. const IntSurf_InteriorPoint& Value(const int Index) const; private: bool done; NCollection_Sequence list; }; #define ThePSurface occ::handle #define ThePSurface_hxx #define ThePSurfaceTool Adaptor3d_HSurfaceTool #define ThePSurfaceTool_hxx #define Handle_TheTopolTool occ::handle #define TheTopolTool Adaptor3d_TopolTool #define TheTopolTool_hxx #define TheSITool IntPatch_HInterTool #define TheSITool_hxx #define TheFunction IntPatch_TheSurfFunction #define TheFunction_hxx #define IntStart_SearchInside IntPatch_TheSearchInside #define IntStart_SearchInside_hxx #include "IntStart_SearchInside.lxx" #undef ThePSurface #undef ThePSurface_hxx #undef ThePSurfaceTool #undef ThePSurfaceTool_hxx #undef Handle_TheTopolTool #undef TheTopolTool #undef TheTopolTool_hxx #undef TheSITool #undef TheSITool_hxx #undef TheFunction #undef TheFunction_hxx #undef IntStart_SearchInside #undef IntStart_SearchInside_hxx #endif // _IntPatch_TheSearchInside_HeaderFile