|
procedure CalcPO(var Prizn,CMPOut: boolean; X,Y,V,W: TObj; var X1,Y1,X2,Y2: complex; var Def1,Def2 :boolean);
var XC1,YC1,R1,Xc2,Yc2,R2,Xb,Yb,Xe,Ye,Dx,Dy,Z,Xt,Yt,ZZ,Dummy: real;
Temp1,Temp2: complex;
Pr: boolean;
Dug1,Dug2: TODuga;
label fin;
begin
Dug1:=TODuga.Create(TOPoint(X).X,TOPoint(X).Y,TOChisl(V).C,TOPoint(X).X.Re+TOChisl(V).C.Re,TOPoint(X).Y.Re,TOPoint(X).X.Re+TOChisl(V).C.Re,TOPoint(X).Y.Re,0,0,Att5,NIL);
Dug2:=TODuga.Create(TOPoint(Y).X,TOPoint(Y).Y,TOChisl(W).C,TOPoint(Y).X.Re+TOChisl(W).C.Re,TOPoint(Y).Y.Re,TOPoint(Y).X.Re+TOChisl(W).C.Re,TOPoint(Y).Y.Re,0,0,Att5,NIL);
CalcP3(Prizn,CmpOut,Dug1,Dug2,X1,Y1,X2,Y2,Def1,Def2);
Dug1.Destroy;
Dug2.Destroy;
end; // CalcPO |