Searched refs:c_ (Results 1 - 3 of 3) sorted by relevance

/inkscape/src/2geom/
H A Dbezier.h54 * @param c_ Pointer to coefficients
57 inline T bernstein_value_at(double t, T const *c_, unsigned n) { argument
61 T tmp = c_[0]*u;
65 tmp = (tmp + tn*bc*c_[i])*u;
67 return (tmp + tn*t*c_[n]);
130 std::valarray<Coord> c_; member in class:Geom::Bezier
143 : c_(c, ord+1)
147 unsigned order() const { return c_.size()-1;}
149 unsigned size() const { return c_.size();}
152 Bezier(const Bezier& b) :c_(
[all...]
H A Dbezier.cpp54 d_[i] = c_[i];
75 left->c_.resize(size());
77 right->c_.resize(size());
78 casteljau_subdivision<double>(t, &const_cast<std::valarray<Coord>&>(c_)[0],
79 &left->c_[0], &right->c_[0], order());
81 casteljau_subdivision<double>(t, &const_cast<std::valarray<Coord>&>(c_)[0],
82 &left->c_[0], NULL, order());
85 right->c_.resize(size());
86 casteljau_subdivision<double>(t, &const_cast<std::valarray<Coord>&>(c_)[
[all...]
/inkscape/src/util/
H A Dtuple.h27 typename Traits::Reference<C>::RValue c_,
31 : a(a_), b(b_), c(c_), d(d_), e(e_), f(f_) {}
47 typename Traits::Reference<C>::RValue c_,
50 : a(a_), b(b_), c(c_), d(d_), e(e_) {}
64 typename Traits::Reference<C>::RValue c_,
66 : a(a_), b(b_), c(c_), d(d_) {}
79 typename Traits::Reference<C>::RValue c_)
80 : a(a_), b(b_), c(c_) {}
25 Tuple(typename Traits::Reference<A>::RValue a_, typename Traits::Reference<B>::RValue b_, typename Traits::Reference<C>::RValue c_, typename Traits::Reference<D>::RValue d_, typename Traits::Reference<E>::RValue e_, typename Traits::Reference<F>::RValue f_) argument
45 Tuple(typename Traits::Reference<A>::RValue a_, typename Traits::Reference<B>::RValue b_, typename Traits::Reference<C>::RValue c_, typename Traits::Reference<D>::RValue d_, typename Traits::Reference<E>::RValue e_) argument
62 Tuple(typename Traits::Reference<A>::RValue a_, typename Traits::Reference<B>::RValue b_, typename Traits::Reference<C>::RValue c_, typename Traits::Reference<D>::RValue d_) argument
77 Tuple(typename Traits::Reference<A>::RValue a_, typename Traits::Reference<B>::RValue b_, typename Traits::Reference<C>::RValue c_) argument

Completed in 2127 milliseconds