Salome HOME
Enable C++0x/C++11 support
[plugins/blsurfplugin.git] / src / BLSURFPlugin / BLSURFPlugin_Attractor.hxx
index 693cc67326ee834e99cefa6c10747c2fa2013fc2..e4532e3cf6b4fdecee58a126d6741c5f09121ce9 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2007-2014  CEA/DEN, EDF R&D
+// Copyright (C) 2007-2015  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
@@ -138,8 +138,14 @@ class BLSURFPlugin_Attractor {
     
     bool              _isMapBuilt;
     bool              _isEmpty;
+
+  // data of a specific case: a point attractor on a plane
+  Handle(Geom_Surface) _plane;
+  gp_Pnt               _attractorPnt;
     
-    double            _distance(double u, double v);            // Retrieve the value of the distance map at point (u,v) of the parametric space of _face
+  double            (BLSURFPlugin_Attractor::*_distance)(double u, double v);            // Retrieve the value of the distance map at point (u,v) of the parametric space of _face
+  double            _distanceFromMap(double u, double v);
+  double            _distanceFromPoint(double u, double v);
 };    
 
 #endif