//=========================================================================== // 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. //=========================================================================== 00016 #ifndef _SURFACECREATORS_H 00017 #define _SURFACECREATORS_H 00018 00019 00020 #include "GoTools/geometry/SplineSurface.h" 00021 #include "GoTools/geometry/SplineCurve.h" 00022 #include "GoTools/geometry/CurveOnSurface.h" 00023 00024 00025 namespace Go 00026 { 00027 00030 namespace SurfaceCreators 00031 { 00032 00043 boost::shared_ptr<SplineSurface> 00044 createSmoothTransition(const std::vector<boost::shared_ptr<const ParamSurface> >& surfs, 00045 const std::vector<boost::shared_ptr<const CurveOnSurface> >& int_cvs, 00046 double dist_0, double dist_1, double epsge, 00047 std::vector<boost::shared_ptr<SplineCurve> >& trim_crvs); 00048 00054 boost::shared_ptr<SplineSurface> mult1DSurfaces(const SplineSurface& sf1, 00055 const SplineSurface& sf2); 00056 00062 boost::shared_ptr<SplineSurface> mult1DBezierPatches(const SplineSurface& patch1, 00063 const SplineSurface& patch2); 00064 00071 boost::shared_ptr<Go::SplineSurface> mergeRationalParts(const Go::SplineSurface& nom_sf, 00072 const Go::SplineSurface& den_sf, 00073 bool weights_in_first = false); 00074 00078 boost::shared_ptr<Go::SplineSurface> insertParamDomain(const Go::SplineSurface& sf_1d); 00079 00083 std::vector<boost::shared_ptr<Go::SplineSurface> > 00084 separateRationalParts(const Go::SplineSurface& sf); 00085 00086 } // end of namespace SurfaceCreators 00087 00088 } // end of namespace Go 00089 00090 00091 #endif // _SURFACECREATORS_H 00092
Generated on Tue Sep 21 15:44:16 2010 for GoTools Core by  doxygen 1.6.3