0_0_18090735_8546.cpp: In member function 'bool point3::operator==(point3)':
0_0_18090735_8546.cpp:57:29: error: 'b' was not declared in this scope
return x==a.x && y==b.y && z==b.z;
^
0_0_18090735_8546.cpp: In member function 'double line3::length()':
0_0_18090735_8546.cpp:87:15: error: 'struct point3' has no member named 'distance'
return a.distance(b);
^
0_0_18090735_8546.cpp: In member function 'bool line3::pointonseg(point3)':
0_0_18090735_8546.cpp:91:22: error: 'struct point3' has no member named 'sub'
return dblcmp(p.sub(a).det(p.sub(b)).len())==0&&dblcmp(a.sub(p).dot(b.sub(p)))<=0;
^
0_0_18090735_8546.cpp:91:35: error: 'struct point3' has no member named 'sub'
return dblcmp(p.sub(a).det(p.sub(b)).len())==0&&dblcmp(a.sub(p).dot(b.sub(p)))<=0;
^
0_0_18090735_8546.cpp:91:63: error: 'struct point3' has no member named 'sub'
return dblcmp(p.sub(a).det(p.sub(b)).len())==0&&dblcmp(a.sub(p).dot(b.sub(p)))<=0;
^
0_0_18090735_8546.cpp:91:76: error: 'struct point3' has no member named 'sub'
return dblcmp(p.sub(a).det(p.sub(b)).len())==0&&dblcmp(a.sub(p).dot(b.sub(p)))<=0;
^
0_0_18090735_8546.cpp: In member function 'double line3::dispointtoline(point3)':
0_0_18090735_8546.cpp:95:15: error: 'struct point3' has no member named 'sub'
return b.sub(a).det(p.sub(a)).len()/a.distance(b);
^
0_0_18090735_8546.cpp:95:28: error: 'struct point3' has no member named 'sub'
return b.sub(a).det(p.sub(a)).len()/a.distance(b);
^
0_0_18090735_8546.cpp:95:44: error: 'struct point3' has no member named 'distance'
return b.sub(a).det(p.sub(a)).len()/a.distance(b);
^
0_0_18090735_8546.cpp: In member function 'double line3::dispointtoseg(point3)':
0_0_18090735_8546.cpp:99:22: error: 'struct point3' has no member named 'sub'
if (dblcmp(p.sub(b).dot(a.sub(b)))<0||dblcmp(p.sub(a).dot(b.sub(a)))<0)
^
0_0_18090735_8546.cpp:99:35: error: 'struct point3' has no member named 'sub'
if (dblcmp(p.sub(b).dot(a.sub(b)))<0||dblcmp(p.sub(a).dot(b.sub(a)))<0)
^
0_0_18090735_8546.cpp:99:56: error: 'struct point3' has no member named 'sub'
if (dblcmp(p.sub(b).dot(a.sub(b)))<0||dblcmp(p.sub(a).dot(b.sub(a)))<0)
^
0_0_18090735_8546.cpp:99:69: error: 'struct point3' has no member named 'sub'
if (dblcmp(p.sub(b).dot(a.sub(b)))<0||dblcmp(p.sub(a).dot(b.sub(a)))<0)
^
0_0_18090735_8546.cpp:101:26: error: 'struct point3' has no member named 'distance'
return min(p.distance(a),p.distance(b));
^
0_0_18090735_8546.cpp:101:40: error: 'struct point3' has no member named 'distance'
return min(p.distance(a),p.distance(b));
^
0_0_18090735_8546.cpp: In member function 'point3 line3::lineprog(point3)':
0_0_18090735_8546.cpp:107:15: error: 'struct point3' has no member named 'add'
return a.add(b.sub(a).trunc(b.sub(a).dot(p.sub(a))/b.distance(a)));
^
0_0_18090735_8546.cpp:107:21: error: 'struct point3' has no member named 'sub'
return a.add(b.sub(a).trunc(b.sub(a).dot(p.sub(a))/b.distance(a)));
^
0_0_18090735_8546.cpp:107:36: error: 'struct point3' has no member named 'sub'
return a.add(b.sub(a).trunc(b.sub(a).dot(p.sub(a))/b.distance(a)));
^
0_0_18090735_8546.cpp:107:49: error: 'struct point3' has no member named 'sub'
return a.add(b.sub(a).trunc(b.sub(a).dot(p.sub(a))/b.distance(a)));
^
0_0_18090735_8546.cpp:107:59: error: 'struct point3' has no member named 'distance'
return a.add(b.sub(a).trunc(b.sub(a).dot(p.sub(a))/b.distance(a)));
^
0_0_18090735_8546.cpp: In member function 'point3 line3::rotate(point3, double)':
0_0_18090735_8546.cpp:111:17: error: 'struct point3' has no member named 'sub'
if (dblcmp((p.sub(a).det(p.sub(b)).len()))==0)return p;
^
0_0_18090735_8546.cpp:111:30: error: 'struct point3' has no member named 'sub'
if (dblcmp((p.sub(a).det(p.sub(b)).len()))==0)return p;
^
0_0_18090735_8546.cpp:112:15: error: 'struct point3' has no member named 'sub'
point3 f1=b.sub(a).det(p.sub(a));
^
0_0_18090735_8546.cpp:112:28: error: 'struct point3' has no member named 'sub'
point3 f1=b.sub(a).det(p.sub(a));
^
0_0_18090735_8546.cpp:113:15: error: 'struct point3' has no member named 'sub'
point3 f2=b.sub(a).det(f1);
^
0_0_18090735_8546.cpp:114:21: error: 'struct point3' has no member named 'sub'
double len=fabs(a.sub(p).det(b.sub(p)).len()/a.distance(b));
^
0_0_18090735_8546.cpp:114:34: error: 'struct point3' has no member named 'sub'
double len=fabs(a.sub(p).det(b.sub(p)).len()/a.distance(b));
^
0_0_18090735_8546.cpp:114:50: error: 'struct point3' has no member named 'distance'
double len=fabs(a.sub(p).det(b.sub(p)).len()/a.distance(b));
^
0_0_18090735_8546.cpp:115:9: error: 'struct point3' has no member named 'trunc'
f1=f1.trunc(len);f2=f2.trunc(len);
^
0_0_18090735_8546.cpp:115:26: error: 'struct point3' has no member named 'trunc'
f1=f1.trunc(len);f2=f2.trunc(len);
^
0_0_18090735_8546.cpp:116:14: error: 'struct point3' has no member named 'add'
point3 h=p.add(f2);
^
0_0_18090735_8546.cpp:117:15: error: 'struct point3' has no member named 'add'
point3 pp=h.add(f1);
^
0_0_18090735_8546.cpp:118:12: error: 'struct point3' has no member named 'add'
return h.add((p.sub(h)).mul(cos(ang*1.0))).add((pp.sub(h)).mul(sin(ang*1.0)));
^
0_0_18090735_8546.cpp:118:19: error: 'struct point3' has no member named 'sub'
return h.add((p.sub(h)).mul(cos(ang*1.0))).add((pp.sub(h)).mul(sin(ang*1.0)));
^
0_0_18090735_8546.cpp:118:54: error: 'struct point3' has no member named 'sub'
return h.add((p.sub(h)).mul(cos(ang*1.0))).add((pp.sub(h)).mul(sin(ang*1.0)));
^
0_0_18090735_8546.cpp: In member function 'point3 plane::pvec()':
0_0_18090735_8546.cpp:158:18: error: 'struct point3' has no member named 'sub'
return b.sub(a).det(c.sub(a));
^
0_0_18090735_8546.cpp:158:31: error: 'struct point3' has no member named 'sub'
return b.sub(a).det(c.sub(a));
^
0_0_18090735_8546.cpp: In member function 'bool plane::pointonplane(point3)':
0_0_18090735_8546.cpp:162:22: error: 'struct point3' has no member named 'sub'
return dblcmp(p.sub(a).dot(o))==0;
^
0_0_18090735_8546.cpp: In member function 'int plane::pointontriangle(point3)':
0_0_18090735_8546.cpp:168:17: error: 'struct point3' has no member named 'sub'
double s=a.sub(b).det(c.sub(b)).len();
^
0_0_18090735_8546.cpp:168:30: error: 'struct point3' has no member named 'sub'
double s=a.sub(b).det(c.sub(b)).len();
^
0_0_18090735_8546.cpp:169:18: error: 'struct point3' has no member named 'sub'
double s1=p.sub(a).det(p.sub(b)).len();
^
0_0_18090735_8546.cpp:169:31: error: 'struct point3' has no member named 'sub'
double s1=p.sub(a).det(p.sub(b)).len();
^
0_0_18090735_8546.cpp:170:18: error: 'struct point3' has no member named 'sub'
double s2=p.sub(a).det(p.sub(c)).len();
^
0_0_18090735_8546.cpp:170:31: error: 'struct point3' has no member named 'sub'
double s2=p.sub(a).det(p.sub(c)).len();
^
0_0_18090735_8546.cpp:171:18: error: 'struct point3' has no member named 'sub'
double s3=p.sub(b).det(p.sub(c)).len();
^
0_0_18090735_8546.cpp:171:31: error: 'struct point3' has no member named 'sub'
double s3=p.sub(b).det(p.sub(c)).len();
^
0_0_18090735_8546.cpp: In member function 'bool plane::relationplane(plane)':
0_0_18090735_8546.cpp:179:22: error: 'struct point3' has no member named 'det'
if (dblcmp(o.det(f.o).len())){
^
0_0_18090735_8546.cpp:180:35: error: 'struct point3' has no member named 'dot'
if (dblcmp(pvec().dot(f.pvec())) == 0) return -1;
^
0_0_18090735_8546.cpp: In member function 'double plane::angleplane(plane)':
0_0_18090735_8546.cpp:188:20: error: 'struct point3' has no member named 'dot'
return acos(o.dot(f.o)/(o.len()*f.o.len()));
^
0_0_18090735_8546.cpp:188:32: error: 'struct point3' has no member named 'len'
return acos(o.dot(f.o)/(o.len()*f.o.len()));
^
0_0_18090735_8546.cpp:188:42: error: 'struct point3' has no member named 'len'
return acos(o.dot(f.o)/(o.len()*f.o.len()));
^
0_0_18090735_8546.cpp: In member fun
|