X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FStdMeshers%2FStdMeshers_CartesianParameters3D.hxx;h=e5ef065ccd75b3942a6701bbc032e1fb95c21621;hb=0a237be4b91b6db526b340c534f40a385d6d65ab;hp=3ef431cc9872b40af8289217a6e54eecce7e86e6;hpb=cd3ffac3fabc68b4d1dee2ad199302f04b20d2c8;p=modules%2Fsmesh.git diff --git a/src/StdMeshers/StdMeshers_CartesianParameters3D.hxx b/src/StdMeshers/StdMeshers_CartesianParameters3D.hxx index 3ef431cc9..e5ef065cc 100644 --- a/src/StdMeshers/StdMeshers_CartesianParameters3D.hxx +++ b/src/StdMeshers/StdMeshers_CartesianParameters3D.hxx @@ -1,4 +1,4 @@ -// Copyright (C) 2007-2013 CEA/DEN, EDF R&D, OPEN CASCADE +// Copyright (C) 2007-2016 CEA/DEN, EDF R&D, OPEN CASCADE // // Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, // CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS @@ -6,7 +6,7 @@ // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either -// version 2.1 of the License. +// version 2.1 of the License, or (at your option) any later version. // // This library is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of @@ -49,7 +49,7 @@ class STDMESHERS_EXPORT StdMeshers_CartesianParameters3D: public SMESH_Hypothes { public: // Constructor - StdMeshers_CartesianParameters3D( int hypId, int studyId, SMESH_Gen * gen ); + StdMeshers_CartesianParameters3D( int hypId, SMESH_Gen * gen ); /*! * Sets coordinates of node positions along an axis (countered from 0) @@ -65,7 +65,7 @@ public: * \param spaceFunctions - functions defining spacing values at given point on axis * \param internalPoints - points dividing a grid into parts along each direction * - * Parameter t of spaceFunction f(t) is a position [0,1] withing bounding box of + * Parameter t of spaceFunction f(t) is a position [0,1] within bounding box of * the shape to mesh */ void SetGridSpacing(std::vector& spaceFunctions, @@ -83,7 +83,7 @@ public: * is defined by spacing in all directions */ void SetFixedPoint(const double p[3], bool toUnset); - bool GetFixedPoint(double p[3]); + bool GetFixedPoint(double p[3]) const; /*! * \brief Computes node coordinates by spacing functions @@ -98,7 +98,8 @@ public: std::vector& spaceFuns, std::vector& points, std::vector& coords, - const std::string& axis ) throw (SALOME_Exception); + const std::string& axis, + const double* xForced=0) throw (SALOME_Exception); /*! * Return coordinates of node positions along the three axes. * If the grid is defined by spacing functions, the coordinates are computed