Commit 96ecd739 authored by Mike Kremer's avatar Mike Kremer
Browse files

Using scalar template type one more time.

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@15976 383ad7c9-94d9-4d36-a494-682f7c89f535
parent fe1dbf1b
......@@ -275,9 +275,9 @@ reset_control_polygon()
template <class PointT>
PointT
BSplineCurveT<PointT>::
curvePoint(double _u)
curvePoint(Scalar _u)
{
double epsilon = 0.0000001;
Scalar epsilon = 0.0000001;
if (_u > upper() && _u < upper()+epsilon)
_u = upper();
......
......@@ -93,7 +93,7 @@ public:
BSplineCurveT(const BSplineCurveT& _curve);
/// Destructor
~BSplineCurveT() {};
~BSplineCurveT() {}
/// get the knotvector of the bspline curve
std::vector< Scalar >& get_knots() {return knotvector_.getKnotvector();};
......@@ -139,7 +139,7 @@ public:
* \param _u the parameter
* \return the curve point
*/
Point curvePoint( double _u );
Point curvePoint( Scalar _u );
/**
* Returns the _derm'th derivative of a spline curve
......
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