Commit 1c951d3a authored by Jan Möbius's avatar Jan Möbius
Browse files

Removed custom copy constructor which missed some field. closes #2355

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@19981 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 0c3da394
......@@ -82,31 +82,6 @@ BSplineSurfaceT( unsigned int _degm, unsigned int _degn )
//-----------------------------------------------------------------------------
template <class PointT>
BSplineSurfaceT<PointT>::
BSplineSurfaceT( const BSplineSurfaceT& _surface )
{
//copy control points
control_net_ = _surface.control_net_;
//copy knotvectors
knotvector_m_ = _surface.knotvector_m_;
knotvector_n_ = _surface.knotvector_n_;
degree_m_ = _surface.degree_m_;
degree_n_ = _surface.degree_n_;
// copy properties
cpselections_ = _surface.cpselections_;
eselections_ = _surface.eselections_;
// copy property reference counter
ref_count_cpselections_ = _surface.ref_count_cpselections_;
ref_count_eselections_ = _surface.ref_count_eselections_;
}
//-----------------------------------------------------------------------------
template <class PointT>
template <class PropT>
void
......
......@@ -93,16 +93,7 @@ public:
* @param _degm Degree in m direction
* @param _degn Degree in n direction
*/
BSplineSurfaceT(unsigned int _degm = 3, unsigned int _degn = 3);
/** \brief Copy Constructor
*
* @param _surface Original Survare
*/
BSplineSurfaceT(const BSplineSurfaceT& _surface);
/// Destructor
~BSplineSurfaceT() {};
explicit BSplineSurfaceT(unsigned int _degm = 3, unsigned int _degn = 3);
/** \brief Resizes the spline struct.
*
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment