./ 0000755 0001750 0001750 00000000000 11535143526 007756 5 ustar yves yves ./build.xml 0000600 0001750 0001750 00000006506 10717347426 011604 0 ustar yves yves
Builds, tests, and runs the project CaRMetal.
./build-before-profiler.xml 0000644 0001750 0001750 00000006417 10717347426 014675 0 ustar yves yves
Builds, tests, and runs the project CaRMetal.
./manifest.mf 0000600 0001750 0001750 00000000122 10427606012 012064 0 ustar yves yves Manifest-Version: 1.0
X-COMMENT: Main-Class will be added automatically by build
./src/ 0000755 0001750 0001750 00000000000 11535143540 010541 5 ustar yves yves ./src/builtin.mcr 0000770 0001750 0001750 00000141647 11057510625 012730 0 ustar yves yves
=O
=X
=Y
=Z
t
Expression "(1+sqrt(5))/2" à -7.08161, 1.08341
Point à "(windoww/(windoww-d(windoww)))*(x(t)-windowcx)+windowcx+d(windowcx)", "(windoww/(windoww-d(windoww)))*(y(t)-windowcy)+windowcy+d(windowcy)"
Point à 33.49486, 0.30428
Expression "2" à 27.87463, 1.12336
Point à 32.50974, 0.26203
Point à 33.66676, 0.06216
Point à 33.49486, 1.27361
Point à "x(t)+E2*(x(Z)-x(O))", "y(t)+E2*(y(Z)-y(O))"
Point à "x(t)+E2*(x(Y)-x(O))", "y(t)+E2*(y(Y)-y(O))"
Point à "x(t)+E2*(x(X)-x(O))", "y(t)+E2*(y(X)-y(O))"
Point à "x(P76)+cos(72)*(x(P13)-x(P76))+sin(72)*(x(P14)-x(P76))", "y(P76)+cos(72)*(y(P13)-y(P76))+sin(72)*(y(P14)-y(P76))"
Point à "x(P76)+cos(144)*(x(P13)-x(P76))+sin(144)*(x(P14)-x(P76))", "y(P76)+cos(144)*(y(P13)-y(P76))+sin(144)*(y(P14)-y(P76))"
Point à "x(P76)+cos(216)*(x(P13)-x(P76))+sin(216)*(x(P14)-x(P76))", "y(P76)+cos(216)*(y(P13)-y(P76))+sin(216)*(y(P14)-y(P76))"
Point à "x(P76)+cos(288)*(x(P13)-x(P76))+sin(288)*(x(P14)-x(P76))", "y(P76)+cos(288)*(y(P13)-y(P76))+sin(288)*(y(P14)-y(P76))"
Point à "x(P76)+E1*cos(72)*(x(P13)-x(P76))+E1*sin(72)*(x(P14)-x(P76))+x(P15)-x(P76)", "y(P76)+E1*cos(72)*(y(P13)-y(P76))+E1*sin(72)*(y(P14)-y(P76))+y(P15)-y(P76)"
Point à "x(P76)+E1*cos(144)*(x(P13)-x(P76))+E1*sin(144)*(x(P14)-x(P76))+x(P15)-x(P76)", "y(P76)+E1*cos(144)*(y(P13)-y(P76))+E1*sin(144)*(y(P14)-y(P76))+y(P15)-y(P76)"
Point à "x(P76)+E1*cos(216)*(x(P13)-x(P76))+E1*sin(216)*(x(P14)-x(P76))+x(P15)-x(P76)", "y(P76)+E1*cos(216)*(y(P13)-y(P76))+E1*sin(216)*(y(P14)-y(P76))+y(P15)-y(P76)"
Point à "x(P76)+E1*cos(288)*(x(P13)-x(P76))+E1*sin(288)*(x(P14)-x(P76))+x(P15)-x(P76)", "y(P76)+E1*cos(288)*(y(P13)-y(P76))+E1*sin(288)*(y(P14)-y(P76))+y(P15)-y(P76)"
Point à "x(P76)+E1*(x(P13)-x(P76))+x(P15)-x(P76)", "y(P76)+E1*(y(P13)-y(P76))+y(P15)-y(P76)"
Point à "x(P76)+E1*(x(P15)-x(P76))", "y(P76)+E1*(y(P15)-y(P76))"
Milieu de P18 et P6
Point à "x(P19)+x(P76)-x(M2)", "y(P19)+y(P76)-y(M2)"
Point à "x(P16)+x(P76)-x(M2)", "y(P16)+y(P76)-y(M2)"
Point à "x(P17)+x(P76)-x(M2)", "y(P17)+y(P76)-y(M2)"
Point à "x(P18)+x(P76)-x(M2)", "y(P18)+y(P76)-y(M2)"
Point à "x(P24)+x(P76)-x(M2)", "y(P24)+y(P76)-y(M2)"
Point à "x(P20)+x(P76)-x(M2)", "y(P20)+y(P76)-y(M2)"
Point à "x(P21)+x(P76)-x(M2)", "y(P21)+y(P76)-y(M2)"
Point à "x(P22)+x(P76)-x(M2)", "y(P22)+y(P76)-y(M2)"
Point à "x(P23)+x(P76)-x(M2)", "y(P23)+y(P76)-y(M2)"
Point à "x(P13)+x(P76)-x(M2)", "y(P13)+y(P76)-y(M2)"
Point à "2*x(P76)-x(P34)", "2*y(P76)-y(P34)"
Point à "2*x(P76)-x(P30)", "2*y(P76)-y(P30)"
Point à "2*x(P76)-x(P31)", "2*y(P76)-y(P31)"
Point à "2*x(P76)-x(P32)", "2*y(P76)-y(P32)"
Point à "2*x(P76)-x(P33)", "2*y(P76)-y(P33)"
Point à "2*x(P76)-x(P26)", "2*y(P76)-y(P26)"
Point à "2*x(P76)-x(P35)", "2*y(P76)-y(P35)"
Point à "2*x(P76)-x(P28)", "2*y(P76)-y(P28)"
Point à "2*x(P76)-x(P29)", "2*y(P76)-y(P29)"
Point à "2*x(P76)-x(P27)", "2*y(P76)-y(P27)"
Segment de P20 à P21
Segment de P21 à P22
Segment de P22 à P19
Segment de P19 à P28
Segment de P28 à P20
Segment de P36 à P32
Segment de P37 à P33
Segment de P34 à P29
Segment de P38 à P31
Segment de P32 à P27
Segment de P32 à P23
Segment de P33 à P23
Segment de P29 à P24
Segment de P29 à P25
Segment de P30 à P25
Segment de P30 à P26
Segment de P31 à P26
Segment de P31 à P27
Segment de P30 à P35
Segment de P38 à P35
Segment de P35 à P34
Segment de P34 à P37
Segment de P37 à P36
Segment de P36 à P38
Segment de P24 à P20
Segment de P25 à P21
Segment de P26 à P22
Segment de P27 à P19
Segment de P23 à P28
Segment de P33 à P24
=O
=X
=Y
=Z
G
Point à "(windoww/(windoww-d(windoww)))*(x(G)-windowcx)+windowcx+d(windowcx)", "(windoww/(windoww-d(windoww)))*(y(G)-windowcy)+windowcy+d(windowcy)"
Point à -1.65605, 0.61452
Expression "2" à 3.24368, 1.07715
Point à -2.26239, 0.38163
Point à -0.86084, 0.43694
Point à -1.65605, 1.57067
Point à "x(C)+x(B)-x(A)", "y(C)+y(B)-y(A)"
Point à "x(G)", "y(G)-(y(P6)-y(G))/3"
Point à "x(P7)+E1*(x(X)-x(O))/sqrt(3)", "y(P7)+E1*(y(X)-y(O))/sqrt(3)"
Point à "x(P7)+2*(x(P7)-x(P8))", "y(P7)+2*(y(P7)-y(P8))"
Point à "x(C)+x(B)-x(A)", "y(C)+y(B)-y(A)"
Point à "x(C)+x(B)-x(A)", "y(C)+y(B)-y(A)"
Segment de P6 à P11
Segment de P6 à P10
Segment de P6 à P9
Segment de P9 à P11
Segment de P10 à P9
Segment de P11 à P10
D
E
F
B
Point à 57.39831, 21.2484
Point à 57.39831, 25.15035
Point à 55.04322, 25.86185
Point à 60.6315, 25.66861
Segment de E à B
=O
=X
=Y
=Z
o
Point à "(windoww/(windoww-d(windoww)))*(x(o)-windowcx)+windowcx+d(windowcx)", "(windoww/(windoww-d(windoww)))*(y(o)-windowcy)+windowcy+d(windowcy)"
Point à 74.67689, 21.58149
Expression "2" à 82.56393, 23.87493
Point à 74.93019, 21.39424
Point à 75.64428, 21.63052
Point à 74.67689, 22.56258
Point à "x(o)+E1*(-x(X)+x(Y)-x(Z)+x(O))", "y(o)+E1*(-y(X)+y(Y)-y(Z)+y(O))"
Point à "x(o)+E1*(-x(X)+x(Y)+x(Z)-x(O))", "y(o)+E1*(-y(X)+y(Y)+y(Z)-y(O))"
Point à "x(o)+E1*(x(X)+x(Y)-x(Z)-x(O))", "y(o)+E1*(y(X)+y(Y)-y(Z)-y(O))"
Point à "x(o)+E1*(x(X)+x(Y)+x(Z)-3*x(O))", "y(o)+E1*(y(X)+y(Y)+y(Z)-3*y(O))"
Point à "2*x(o)-x(P9)", "2*y(o)-y(P9)"
Point à "2*x(o)-x(P8)", "2*y(o)-y(P8)"
Point à "2*x(o)-x(P7)", "2*y(o)-y(P7)"
Point à "2*x(o)-x(P6)", "2*y(o)-y(P6)"
Segment de P7 à P6
Segment de P11 à P10
Segment de P13 à P12
Segment de P9 à P8
Segment de P11 à P13
Segment de P7 à P9
Segment de P13 à P9
Segment de P11 à P7
Segment de P8 à P12
Segment de P6 à P8
Segment de P10 à P6
Segment de P12 à P10
=O
=X
=Y
=Z
p
Point à 1.03933, 0.46474
Point à "(windoww/(windoww-d(windoww)))*(x(p)-windowcx)+windowcx+d(windowcx)", "(windoww/(windoww-d(windoww)))*(y(p)-windowcy)+windowcy+d(windowcy)"
Expression "0" à -6.68004, 2.71076
Expression "0" à -5.68004, 2.71076
Expression "0" à -4.58004, 2.71076
Point à "x(p)", "y(p)+40/pixel"
Point à "x(p)", "y(p)-35/pixel"
Segment de P3 à P4
Point à 1.01578, 1.45964
Point à 2.00625, 0.46247
Point à 0.78533, 0.36384
Point à "x(O)+E1*(x(X)-x(O))+E2*(x(Y)-x(O))+E3*(x(Z)-x(O))", "y(O)+E1*(y(X)-y(O))+E2*(y(Y)-y(O))+E3*(y(Z)-y(O))"
O
M
Point à -2.57, 4.13
Point à -0.67, 2.7
Point à "2*x(O)-x(M)", "2*y(O)-y(M)"
l1
A
Point à 1.20702, 2.09123
Point à "x(A)", "y(A)"
???
Point sur l1
Perpendiculaire passant par P6 à l1
Cercle de centre P1 passant par P6
Intersection entre perp1 et c1
A
B
M
Point à -3.98502, 1.73034
Point à -2.41199, 2.26966
Point à -1.87266, 1.16105
Point à "x(C)+x(B)-x(A)", "y(C)+y(B)-y(A)"
A
B
Point à 3.92161, -13.62031
Point à -4.98046, 17.29785
Cercle de centre P81 passant par I64
Cercle de centre I64 passant par P81
Intersection entre c2 et c1
Intersection entre c1 et c2
Droite passant par I1 et I2
A
B
C
Point à -0.3038, 2.25823
Point à -2.47089, 0.61772
Point à 3.28101, 0.21266
Angle C - B de mesure angle180(a(C,B,A))/2
Cercle de centre B passant par C
Intersection entre a1 et c1
Demi-droite d'origine B vers E
A
B
C
Point à -5.89698, 0.72469
Point à -3.7087, 2.54352
Point à -0.12789, -0.49734
Point à "(x(A)^2*y(P4)-x(A)^2*y(P5)+y(P4)^2*y(P5)-y(P4)^2*y(A)-y(P4)*y(P5)^2+y(P4)*y(A)^2-y(P4)*x(P5)^2+y(P5)^2*y(A)-y(P5)*y(A)^2+y(P5)*x(P4)^2+y(A)*x(P5)^2-y(A)*x(P4)^2)/(2*x(A)*y(P4)+(-(2*x(A)))*y(P5)+(-(2*y(P4)))*x(P5)+2*y(P5)*x(P4)+2*y(A)*x(P5)+(-(2*y(A)))*x(P4))", "(-x(A)^2*x(P4)+x(A)^2*x(P5)+x(A)*x(P4)^2-x(A)*x(P5)^2+x(A)*y(P4)^2-x(A)*y(P5)^2-x(P4)^2*x(P5)+x(P4)*x(P5)^2+x(P4)*y(P5)^2-x(P4)*y(A)^2-x(P5)*y(P4)^2+x(P5)*y(A)^2)/(2*x(A)*y(P4)+(-(2*x(A)))*y(P5)+2*x(P4)*y(P5)+(-(2*x(P4)))*y(A)+(-(2*x(P5)))*y(P4)+2*x(P5)*y(A))"
Cercle de centre P10 passant par P7
M
N
P
Point à -6.74, 2.9
Point à -5.50775, 4.13336
Point à -4.56, 3.86
Point à "if(a(C,A,B)<180,x(A),x(C))", "if(a(C,A,B)<180,y(A),y(C))"
Point à "if(a(C,A,B)<180,x(C),x(A))", "if(a(C,A,B)<180,y(C),y(A))"
Point à "(x(B)^2*y(P4)-x(B)^2*y(P5)+y(P4)^2*y(P5)-y(P4)^2*y(B)-y(P4)*y(P5)^2+y(P4)*y(B)^2-y(P4)*x(P5)^2+y(P5)^2*y(B)-y(P5)*y(B)^2+y(P5)*x(P4)^2+y(B)*x(P5)^2-y(B)*x(P4)^2)/(2*x(B)*y(P4)+(-(2*x(B)))*y(P5)+(-(2*y(P4)))*x(P5)+2*y(P5)*x(P4)+2*y(B)*x(P5)+(-(2*y(B)))*x(P4))", "(-x(B)^2*x(P4)+x(B)^2*x(P5)+x(B)*x(P4)^2-x(B)*x(P5)^2+x(B)*y(P4)^2-x(B)*y(P5)^2-x(P4)^2*x(P5)+x(P4)*x(P5)^2+x(P4)*y(P5)^2-x(P4)*y(B)^2-x(P5)*y(P4)^2+x(P5)*y(B)^2)/(2*x(B)*y(P4)+(-(2*x(B)))*y(P5)+2*x(P4)*y(P5)+(-(2*x(P4)))*y(B)+(-(2*x(P5)))*y(P4)+2*x(P5)*y(B))"
Cercle de centre P6 passant par P4
M
a
b
P4
Point à -1.0, 2.0
Point à 2.0, 2.0
Droite passant par a et b
Point à 4.0, 2.0
Perpendiculaire passant par M à l1
Intersection entre perp1 et l1
Point à "(windoww/(windoww-d(windoww)))*(x(P4)-windowcx)+windowcx+d(windowcx)", "(windoww/(windoww-d(windoww)))*(y(P4)-windowcy)+windowcy+d(windowcy)"
Les points sont alignés
Les points ne sont pas alignés
l1
l2
P5
???
???
Point à "(windoww/(windoww-d(windoww)))*(x(P5)-windowcx)+windowcx+d(windowcx)", "(windoww/(windoww-d(windoww)))*(y(P5)-windowcy)+windowcy+d(windowcy)"
Les objets ne sont pas parallèles
Les objets sont parallèles
l1
l2
P5
???
???
Point à "(windoww/(windoww-d(windoww)))*(x(P5)-windowcx)+windowcx+d(windowcx)", "(windoww/(windoww-d(windoww)))*(y(P5)-windowcy)+windowcy+d(windowcy)"
Les objets ne sont pas perpendiculaires
Les objets sont perpendiculaires
o
a
b
P5
Point à 1.0, -1.0
Point à 1.0, 3.0
Point à 5.0, 0.0
Point à "(windoww/(windoww-d(windoww)))*(x(P5)-windowcx)+windowcx+d(windowcx)", "(windoww/(windoww-d(windoww)))*(y(P5)-windowcy)+windowcy+d(windowcy)"
Les points ne sont pas équidistants
Les points sont équidistants
P13
l4
P14
???
Point à 5.0, 0.0
Point à "(windoww/(windoww-d(windoww)))*(x(P14)-windowcx)+windowcx+d(windowcx)", "(windoww/(windoww-d(windoww)))*(y(P14)-windowcy)+windowcy+d(windowcy)"
Perpendiculaire passant par P13 à l4
Intersection entre l4 et perp1
Point à "if(I1,x(I1),x(P13)+1)", "if(I1,y(I1),y(P13))"
Le point est sur l'objet
Le point n'est pas sur l'objet
M
A
P3
Point à 3.0, 2.0
Point à 3.0, 2.0
Point à "(windoww/(windoww-d(windoww)))*(x(P3)-windowcx)+windowcx+d(windowcx)", "(windoww/(windoww-d(windoww)))*(y(P3)-windowcy)+windowcy+d(windowcy)"
Les points sont confondus
Les points ne sont pas confondus
A
Point à "(windoww/(windoww-d(windoww)))*(x(A)-windowcx)+windowcx+d(windowcx)", "(windoww/(windoww-d(windoww)))*(y(A)-windowcy)+windowcy+d(windowcy)"
f1(x)=0
./src/Main.java 0000644 0001750 0001750 00000007665 11360277413 012311 0 ustar yves yves
import eric.FileTools;
import eric.GUI.palette.PaletteManager;
import eric.GUI.window.MainApplet;
import eric.GUI.window.MainWindow;
import eric.JLogoWindow;
import eric.OS;
import eric.macros.MacroTools;
import eric.bar.JPropertiesBar;
import java.io.FileOutputStream;
import java.io.PrintStream;
import java.util.Locale;
import java.util.Properties;
import javax.swing.SwingUtilities;
import rene.gui.Global;
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
/**
*
* @author erichake
*/
public class Main extends MainApplet {
public Main() {
super();
}
public void init() {
rene.gui.Global.DetectDesktopSize();
Global.initBundles();
Global.initProperties();
eric.JGlobalPreferences.initPreferences();
// Global.FirstRun();
JPropertiesBar.CreatePopertiesBar();
super.init();
}
public void start() {
super.start();
SwingUtilities.invokeLater(new Runnable() {
public void run() {
PaletteManager.init();
}
});
}
static public void main(final String[] args) {
final int PORT=32145;
int i=0;
String filename="";
while (i