lots of progress on lab 1

This commit is contained in:
2022-03-14 14:49:24 -05:00
parent 91babda1ed
commit 7fa13c0f6d
7 changed files with 172 additions and 43 deletions

18
Lab1/main.cpp Normal file
View File

@@ -0,0 +1,18 @@
#include "ReadSTL.cpp"
using namespace std;
int main(int argc, char** argv) {
ReadSTL stl1(argv[1]);
cout << "Facets in file:" << stl1.getNumFacets() << endl;
cout << "X Min: " << stl1.getXmin() << endl;
cout << "X Max: " << stl1.getXmax() << endl;
cout << "Y Min: " << stl1.getYmin() << endl;
cout << "Y Max: " << stl1.getYmax() << endl;
cout << "Z Min: " << stl1.getZmin() << endl;
cout << "Z Max: " << stl1.getZmax() << endl;
return 0;
}