16.01.2015 Views

sborník

sborník

sborník

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

25. KONFERENCE O GEOMETRII A POČÍTAČOVÉ GRAFICE<br />

Jana Procházková<br />

DERIVATIVE OF B-SPLINE<br />

FUNCTION<br />

Abstract<br />

Derivatives are very important in computation in engineering<br />

practice on graphics structures. B-spline functions are defined<br />

recursive, so direct computation is very difficult. In this article<br />

is shown the proof of formula for simpler direct computation<br />

of derivatives and its application for derivatives of NURBS<br />

curves.<br />

derivative, B-spline, NURBS<br />

Keywords<br />

1 Definition of B-spline curve<br />

Definition 1.1. Let t = (t 0 , t 1 , . . . t n ) be a knot vector. B-spline<br />

function of k degree is defined as<br />

{<br />

Ni 0 1 for t ∈ 〈t i , t i + 1)<br />

(t) =<br />

(1)<br />

0 otherwise<br />

N k i (t) =<br />

t − t i<br />

N k−1<br />

i (t) + t i+k+1 − t<br />

N k−1<br />

i+1<br />

t i+k − t i t i+k+1 − t i+1<br />

where 0 ≤ i ≤ n − k − 1, 1 ≤ k ≤ n − 1, 0 0 := 0<br />

(t) , (2)<br />

Definition 1.2. Let P 0 , P 1 , . . . , P m (P i ∈ R d ) be m+1 control points,<br />

t = (t 0 , t 1 , . . . t m+n+1 ) knot vector. B-spline curve of n degree for<br />

control points P i and knot vector t is defined as<br />

C(t) = Σ m i=0P i Ni n (t) (3)<br />

where Ni k are base B-spline functions from definition 1.1<br />

199

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!