]> SALOME platform Git repositories - plugins/blsurfplugin.git/commit
Salome HOME
Add Attractor:
authorgdd <gdd>
Fri, 20 Feb 2009 18:09:49 +0000 (18:09 +0000)
committergdd <gdd>
Fri, 20 Feb 2009 18:09:49 +0000 (18:09 +0000)
commit219029a87e8878fc28329bfaec7293df3c0aee89
tree05366b4735a202fbe8e46bc96db6c71bb29a25a0
parent07b08c1c117c6ac087e5936665d23ad737933743
Add Attractor:
 An attractor is defined with the following pattern:
 ATTRACTOR(xa;ya;za;a;b) where:
 xa;ya;za : coordinates of attractor point
 a        : desired size on attractor point
 b        : distance of influence of attractor

Formula computed is following: R-(R-a)*exp(-(r/b)^2)
with r : distance from attractor

------------
Change behavior when checking size map functions.
* If size map is not a valid python function:
  - it will not be taken into account at computation,
  - the text in the table is colored in white on red background.
* Empty functions are not allowed
src/GUI/BLSURFPluginGUI_HypothesisCreator.cxx
src/GUI/BLSURFPluginGUI_HypothesisCreator.h