NRBTFORM - Apply transformation matrix to the NURBS. Calling Sequence: tnurbs = nrbtform(nurbs,tmatrix); Parameters: nurbs : NURBS data structure (see nrbmak for details). tmatrix : Transformation matrix, a matrix of size (4,4) defining a single or multiple transformations. tnurbs : The return transformed NURBS data structure. Description: The NURBS is transform as defined a transformation matrix of size (4,4), such as a rotation, translation or change in scale. The transformation matrix can define a single transformation or multiple series of transformations. The matrix can be simple constructed by the functions vecscale, vectrans, vecrotx, vecroty, and vecrotz. Examples: Rotate a square by 45 degrees about the z axis. rsqr = nrbtform(nrbrect, vecrotz(deg2rad(45))); nrbplot(rsqr, 10); See: vecscale, vectrans, vecrotx, vecroty, vecrotz

- demoellip Demonstration of a unit circle transformed to a inclined ellipse
- demorect Demonstrate of rectangluar curve
- demorevolve Demonstration of surface construction by revolving a
- demoruled Demonstration of ruled surface construction.
- demotorus % Copyright (C) 2003 Mark Spink
- nrbrevolve % Copyright (C) 2003 Mark Spink

Generated on Sat 16-May-2009 00:04:49 by