source: CGBLisp/examples/RCS/apollonius.macsyma,v@ 1

Last change on this file since 1 was 1, checked in by Marek Rychlik, 15 years ago

First import of a version circa 1997.

File size: 552 bytes
Line 
1head 1.1;
2access;
3symbols;
4locks; strict;
5comment @# @;
6
7
81.1
9date 2009.01.19.09.12.21; author marek; state Exp;
10branches;
11next ;
12
13
14desc
15@@
16
17
181.1
19log
20@Initial revision
21@
22text
23@if get('geometry,'version)=false then load(geometry);
24
25/* Points */
26A:[0,0];
27B:[u1,0];
28C:[0,u2];
29M1:[x1,0];
30M2:[0,x2];
31M3:[x3,x4];
32H:[x5,x6];
33O:[x7,x8];
34
35/* Equations */
36eqns:append(
37 append(
38 midpoint(M1,A,B),
39 midpoint(M2,A,C),
40 midpoint(M3,B,C)
41 ),
42 [
43 perp(A,H,B,C),
44 collinear(B,H,C),
45 eqlen(O,A,O,M1),
46 eqlen(O,A,O,M2),
47 eqlen(O,A,O,M3),
48 eqlen(O,A,O,H)
49 ]);
50@
Note: See TracBrowser for help on using the repository browser.