Logo Search packages:      
Sourcecode: octave-nurbs version File versions  Download package


function demoellip
% Demonstration of a unit circle transformed to a inclined ellipse
% by first scaling, then rotating and finally translating.

% D.M. Spink
% Copyright (c) 2000

xx = vectrans([2.0 1.0])*vecroty(pi/8)*vecrotx(pi/4)*vecscale([1.0 2.0]);
c0 = nrbtform(nrbcirc, xx);
title('Construction of an ellipse by transforming a unit circle.');
grid on;

Generated by  Doxygen 1.6.0   Back to index