Changes between Version 1 and Version 2 of fd


Ignore:
Timestamp:
Aug 1, 2011 1:31:56 PM (13 years ago)
Author:
xwang
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • fd

    v1 v2  
    22
    33'''Parameters:'''
    4  * double x1 - x coordinate of first point.
    5  * double y1 - y coordinate of first point.
    6  * double z1 - z coordinate of first point.
    7  * double x2 - x coordinate of second point.
    8  * double y2 - y coordinate of second point.
    9  * double z2 - z coordinate of second point.
     4 * 1: double x1 - x coordinate of first point.
     5 * 2: double y1 - y coordinate of first point.
     6 * 3: double z1 - z coordinate of first point.
     7 * 4: double x2 - x coordinate of second point.
     8 * 5: double y2 - y coordinate of second point.
     9 * 6: double z2 - z coordinate of second point.
    1010
    1111'''Responds:'''
    12  * TBD
     12 * ''X'' where X is the distance between the two points
    1313
    1414'''Reports:'''
    15  * TBD
     15 * ''done'' when the task completes.
    1616
    1717'''Example:'''
    18  * User sends: "fd 0 0 0 3 4 12"
    19  * answer is 13
     18 * User sends: "fd 512 0 0 0 3 4 12"
     19 * Director replies: "rs fd 512 13.000001"
     20 * Director replies: "cp fd 512 done"