0_0_36702258_20463.cpp: In function 'int main()':
0_0_36702258_20463.cpp:20:3: error: 'A' was not declared in this scope
A.input(n);
^
0_0_36702258_20463.cpp:24:17: error: 'inf' was not declared in this scope
double H=0,Ss=inf;
^
0_0_36702258_20463.cpp:27:4: error: 'Plane' was not declared in this scope
Plane sp(A.P[a],A.P[b],A.P[c]);
^
0_0_36702258_20463.cpp:30:5: error: 'p' was not declared in this scope
p[j]=sp.pointtoplane(A.P[j]);
^
0_0_36702258_20463.cpp:30:10: error: 'sp' was not declared in this scope
p[j]=sp.pointtoplane(A.P[j]);
^
0_0_36702258_20463.cpp:32:17: error: 'sgn' was not declared in this scope
if(sgn(h-dis)<0)h=dis;
^
0_0_36702258_20463.cpp:34:14: error: 'sgn' was not declared in this scope
if(sgn(H-h)>0)continue;
^
0_0_36702258_20463.cpp:35:4: error: 'B' was not declared in this scope
B.n=0;
^
0_0_36702258_20463.cpp:36:4: error: 'Point3' was not declared in this scope
Point3 O=A.P[a],S=A.P[b];
^
0_0_36702258_20463.cpp:37:11: error: expected ';' before 'x'
Point3 x=(S-O).trunc(1);
^
0_0_36702258_20463.cpp:38:11: error: expected ';' before 'y'
Point3 y=((S-O)^sp.o).trunc(1);
^
0_0_36702258_20463.cpp:40:17: error: 'x' was not declared in this scope
B.add(Point(x*(A.P[j]-O),y*(A.P[j]-O)));
^
0_0_36702258_20463.cpp:40:27: error: 'O' was not declared in this scope
B.add(Point(x*(A.P[j]-O),y*(A.P[j]-O)));
^
0_0_36702258_20463.cpp:40:30: error: 'y' was not declared in this scope
B.add(Point(x*(A.P[j]-O),y*(A.P[j]-O)));
^
0_0_36702258_20463.cpp:40:42: error: 'Point' was not declared in this scope
B.add(Point(x*(A.P[j]-O),y*(A.P[j]-O)));
^
0_0_36702258_20463.cpp:41:16: error: 'C' was not declared in this scope
B.getconvex(C);
^
0_0_36702258_20463.cpp:43:14: error: 'sgn' was not declared in this scope
if(sgn(h-H)>0){
^
|