//=========================================================================== // GoTools Core - SINTEF Geometry Tools Core library, version 2.0.1 // // Copyright (C) 2000-2007, 2010 SINTEF ICT, Applied Mathematics, Norway. // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License // as published by the Free Software Foundation version 2 of the License. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. // // You should have received a copy of the GNU General Public License // along with this program; if not, write to the Free Software // Foundation, Inc., // 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. // // Contact information: E-mail: tor.dokken@sintef.no // SINTEF ICT, Department of Applied Mathematics, // P.O. Box 124 Blindern, // 0314 Oslo, Norway. // // Other licenses are also available for this software, notably licenses // for: // - Building commercial software. // - Building software whose source code you wish to keep private. //=========================================================================== 00015 #ifndef _MODIFYSURF_H 00016 #define _MODIFYSURF_H 00017 00018 #include "GoTools/geometry/SplineCurve.h" 00019 #include "GoTools/geometry/SplineSurface.h" 00020 00021 namespace Go { 00022 00023 namespace ModifySurf 00024 { 00025 // Replace one boundary curve of a SplineSurface 00026 // Approximate the initial surface 00027 // bd_idx = 0: umin 00028 // 1: umax 00029 // 2: vmin 00030 // 3: vmax 00031 void replaceBoundary(boost::shared_ptr<SplineSurface> surf, 00032 boost::shared_ptr<SplineCurve> curve, 00033 int bd_idx, double tol); 00034 00035 } // of namespace ModifySurf 00036 00037 }; // end namespace Go 00038 00039 #endif // _MODIFYSURF_H