home *** CD-ROM | disk | FTP | other *** search
/ SGI Developer Toolbox 6.1 / SGI Developer Toolbox 6.1 - Disc 4.iso / src / tutorials / geometer / Theorems / curves / ellipse1.T < prev    next >
Encoding:
Text File  |  1994-08-02  |  651 b   |  19 lines

  1. .geometry "version 0.1";
  2. v1 = .free(0.440298, -0.283582, "1");
  3. v2 = .free(-0.25, -0.171642, "2");
  4. c1 = .c.vv(v2, v1);
  5. v3 = .free(-0.776119, -0.242537, "3");
  6. v4 = .vonc(c1, -0.297541, 0.526055, .magenta, .plus);
  7. l1 = .l.vv(v4, v2, .yellow);
  8. l3 = .l.vv(v4, v3, .yellow);
  9. v5 = .v.vvmid(v3, v4, .red);
  10. l2 = .l.vlperp(v5, l3, .red, .longline);
  11. v6 = .v.ll(l2, l1, .smear);
  12. c2 = .c.vv(v6, v4, .green);
  13. l4 = .l.vv(v6, v3, .yellow);
  14. .text("Construction of an Ellipse:");
  15. .text("");
  16. .text("Move the magenta point on the circle to sweep out");
  17. .text("an ellipse.  Why does this work?  You can move the");
  18. .text("points 1, 2, and 3 to make different ellipses.");
  19.