00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033 #ifndef _GOSURFACECREATORS_H
00034 #define _GOSURFACECREATORS_H
00035
00036
00037 #include "SplineSurface.h"
00038 #include "SplineCurve.h"
00039 #include "CurveOnSurface.h"
00040
00041
00042 namespace Go
00043 {
00046
00047
00051 namespace SurfaceCreators
00052 {
00055
00056
00067 boost::shared_ptr<SplineSurface>
00068 createSmoothTransition(const std::vector<boost::shared_ptr<const ParamSurface> >& surfs,
00069 const std::vector<boost::shared_ptr<const CurveOnSurface> >& int_cvs,
00070 double dist_0, double dist_1, double epsge,
00071 std::vector<boost::shared_ptr<SplineCurve> >& trim_crvs);
00072
00078 boost::shared_ptr<SplineSurface> mult1DSurfaces(const SplineSurface& sf1,
00079 const SplineSurface& sf2);
00080
00086 boost::shared_ptr<SplineSurface> mult1DBezierPatches(const SplineSurface& patch1,
00087 const SplineSurface& patch2);
00088
00095 boost::shared_ptr<Go::SplineSurface> mergeRationalParts(const Go::SplineSurface& nom_sf,
00096 const Go::SplineSurface& den_sf,
00097 bool weights_in_first = false);
00098
00102 boost::shared_ptr<Go::SplineSurface> insertParamDomain(const Go::SplineSurface& sf_1d);
00103
00107 std::vector<boost::shared_ptr<Go::SplineSurface> >
00108 separateRationalParts(const Go::SplineSurface& sf);
00109
00111 }
00114
00115
00117 }
00118
00119
00120 #endif // _GOSURFACECREATORS_H
00121
00122