gzz-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gzz-commits] gzz/doc/pegboard/1009 PEG_1009.rst


From: Tuomas J. Lukka
Subject: [Gzz-commits] gzz/doc/pegboard/1009 PEG_1009.rst
Date: Sun, 06 Oct 2002 11:57:59 -0400

CVSROOT:        /cvsroot/gzz
Module name:    gzz
Changes by:     Tuomas J. Lukka <address@hidden>        02/10/06 11:57:59

Modified files:
        doc/pegboard/1009: PEG_1009.rst 

Log message:
        twid

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/gzz/gzz/doc/pegboard/1009/PEG_1009.rst.diff?tr1=1.1&tr2=1.2&r1=text&r2=text

Patches:
Index: gzz/doc/pegboard/1009/PEG_1009.rst
diff -c gzz/doc/pegboard/1009/PEG_1009.rst:1.1 
gzz/doc/pegboard/1009/PEG_1009.rst:1.2
*** gzz/doc/pegboard/1009/PEG_1009.rst:1.1      Sun Oct  6 11:52:21 2002
--- gzz/doc/pegboard/1009/PEG_1009.rst  Sun Oct  6 11:57:59 2002
***************
*** 3,16 ****
  =============================================================
  
  :Authors:  Tuomas Lukka
! :Date:     $Date: 2002/10/06 15:52:21 $
! :Revision: $Revision: 1.1 $
  :Status:   Incomplete
  
  Transformations
  ---------------
  
! Add into VobCoorder the following convenience function::
  
      public int translate(int into, float x, float y) {
        return coordsys(into, 0, x, y, 1, 1);
--- 3,16 ----
  =============================================================
  
  :Authors:  Tuomas Lukka
! :Date:     $Date: 2002/10/06 15:57:59 $
! :Revision: $Revision: 1.2 $
  :Status:   Incomplete
  
  Transformations
  ---------------
  
! Add into VobCoorder the following convenience functions::
  
      public int translate(int into, float x, float y) {
        return coordsys(into, 0, x, y, 1, 1);
***************
*** 20,35 ****
        return coordsys(into, z, x, y, 1, 1);
      }
  
  
  
! And into AffineVobCoorder the following convenience function::
  
      int rotate(int into, float degrees);
      int rotate3D(int into, float degrees, float x, float y, float z) ;
  
  .. IMPORTANT:
      Should we add default implementation of rotate?
  
  Transforming points interactively
  ---------------------------------
  
--- 20,45 ----
        return coordsys(into, z, x, y, 1, 1);
      }
  
+     public int scale(int into, float x, float y) {
+       return coordsys(into, 0, 0, 0, x, y);
+     }
  
+ .. IMPORTANT:
+     Should 3D scaling be here as well?
  
! And into AffineVobCoorder the following functions::
  
      int rotate(int into, float degrees);
      int rotate3D(int into, float degrees, float x, float y, float z) ;
+     int scale(int into, float x, float y, float z);
  
  .. IMPORTANT:
      Should we add default implementation of rotate?
  
+ .. IMPORTANT:
+     Should rotate3D really be there? It extends the capabilities?
+     Should there be a third interface, ThreeDCoorder?
+ 
  Transforming points interactively
  ---------------------------------
  
***************
*** 51,56 ****
--- 61,69 ----
  
  The reason for allowing the array pt[] to contain several points is
  simply performance.
+ 
+ .. IMPORTANT::
+     Names?
  
  .. IMPORTANT::
      Should we provide a form with a default return of float[] for convenience?




reply via email to

[Prev in Thread] Current Thread [Next in Thread]