Changes between Version 1 and Version 2 of fd
- Timestamp:
- Aug 1, 2011 1:31:56 PM (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
fd
v1 v2 2 2 3 3 '''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. 10 10 11 11 '''Responds:''' 12 * TBD12 * ''X'' where X is the distance between the two points 13 13 14 14 '''Reports:''' 15 * TBD15 * ''done'' when the task completes. 16 16 17 17 '''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"