extend API of smooth command to allow to run different algorithms

This commit is contained in:
wmayer
2018-04-14 18:44:03 +02:00
parent 8a7525f620
commit 4adeb7702d
2 changed files with 33 additions and 7 deletions

View File

@@ -403,7 +403,7 @@ The argument int is the mode: 0=inner, 1=outer
<UserDocu>Fillup holes</UserDocu>
</Documentation>
</Methode>
<Methode Name="smooth" Const="true">
<Methode Name="smooth" Const="true" Keyword="true">
<Documentation>
<UserDocu>Smooth the mesh
smooth([iteration=1,maxError=FLT_MAX])</UserDocu>
@@ -520,7 +520,7 @@ for p in mesh.Facets:
</Attribute>
<ClassDeclarations>private:
friend class PropertyMeshKernel;
class PropertyMeshKernel* parentProperty;
class PropertyMeshKernel* parentProperty = nullptr;
</ClassDeclarations>
</PythonExport>
</GenerateModel>