home *** CD-ROM | disk | FTP | other *** search
/ Amiga Tools 5 / Amiga Tools 5.iso / grafik / 3d & render tools / irit / man / man6 / sreparam.6 < prev    next >
Encoding:
Text File  |  1996-07-16  |  1.6 KB  |  41 lines

  1. .TH SREPARAM
  2.  6 "IRIT Version 6.0" 
  3. .SH NAME
  4. SREPARAM
  5.  
  6.  
  7.  
  8.  SurfaceType SREPARAM( SurfaceType Srf, ConstantType Direction,
  9.                                   NumericType MinParam, NumericType MaxParam )
  10.  
  11. Reparametrize Srf over a new domain from MinParam to MaxParam,
  12. in the prescribed Direction. This operation does not affect the geometry
  13. of the surface and only affine transforms its knot vectors. A Bezier surface
  14. will automatically be promoted into a Bspline surface by this function.
  15.  
  16. Example:
  17.  
  18.     srf = sbspline( 2, 4,
  19.                      list( list( ctlpt( E3, 0.0, 0.0, 1.0 ),
  20.                                  ctlpt( E2, 0.0, 1.0 ),
  21.                                  ctlpt( E3, 0.0, 2.0, 1.0 ) ),
  22.                            list( ctlpt( E2, 1.0, 0.0 ),
  23.                                  ctlpt( E3, 1.0, 1.0, 2.0 ),
  24.                                  ctlpt( E2, 1.0, 2.0 ) ),
  25.                            list( ctlpt( E3, 2.0, 0.0, 2.0 ),
  26.                                  ctlpt( E2, 2.0, 1.0 ),
  27.                                  ctlpt( E3, 2.0, 2.0, 2.0 ) ),
  28.                            list( ctlpt( E2, 3.0, 0.0 ),
  29.                                  ctlpt( E3, 3.0, 1.0, 2.0 ),
  30.                                  ctlpt( E2, 3.0, 2.0 ) ),
  31.                            list( ctlpt( E3, 4.0, 0.0, 1.0 ),
  32.                                  ctlpt( E2, 4.0, 1.0 ),
  33.                                  ctlpt( E3, 4.0, 2.0, 1.0 ) ) ),
  34.                      list( list( KV_OPEN ),
  35.                            list( KV_OPEN ) ) );
  36.     
  37.     srf = sreparam( sreparam( srf, ROW, 0, 1 ), COL, 0, 1 );
  38.  
  39. Ensures that the Bspline surface is defined over the unit size parametric
  40. domain.
  41.