|
|
|||
File indexing completed on 2026-09-28 09:19:40
0001 // Copyright (c) 2025 OPEN CASCADE SAS 0002 // 0003 // This file is part of Open CASCADE Technology software library. 0004 // 0005 // This library is free software; you can redistribute it and/or modify it under 0006 // the terms of the GNU Lesser General Public License version 2.1 as published 0007 // by the Free Software Foundation, with special exception defined in the file 0008 // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT 0009 // distribution for complete text of the license and disclaimer of any warranty. 0010 // 0011 // Alternatively, this file may be used under the terms of Open CASCADE 0012 // commercial license or contractual agreement. 0013 0014 #ifndef _BRepMesh_IncrementalMeshFactory_HeaderFile 0015 #define _BRepMesh_IncrementalMeshFactory_HeaderFile 0016 0017 #include <BRepMesh_DiscretAlgoFactory.hxx> 0018 0019 //! Factory for creating BRepMesh_IncrementalMesh instances. 0020 //! This factory is registered under the name "FastDiscret" and provides 0021 //! the default built-in meshing algorithm. 0022 class BRepMesh_IncrementalMeshFactory : public BRepMesh_DiscretAlgoFactory 0023 { 0024 DEFINE_STANDARD_RTTIEXT(BRepMesh_IncrementalMeshFactory, BRepMesh_DiscretAlgoFactory) 0025 0026 public: 0027 //! Constructor. Registers this factory under the name "FastDiscret". 0028 Standard_EXPORT BRepMesh_IncrementalMeshFactory(); 0029 0030 //! Creates a new BRepMesh_IncrementalMesh instance. 0031 //! @param[in] theShape shape to be meshed 0032 //! @param[in] theLinDeflection linear deflection for meshing 0033 //! @param[in] theAngDeflection angular deflection for meshing 0034 //! @return new meshing algorithm instance 0035 Standard_EXPORT occ::handle<BRepMesh_DiscretRoot> CreateAlgorithm( 0036 const TopoDS_Shape& theShape, 0037 double theLinDeflection, 0038 double theAngDeflection) override; 0039 }; 0040 0041 #endif // _BRepMesh_IncrementalMeshFactory_HeaderFile
| [ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
|
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |
|