finally working

This commit is contained in:
2022-03-14 21:19:38 -05:00
parent ba62640018
commit 9801aaebfb
7 changed files with 12421 additions and 67 deletions

View File

@@ -1,10 +1,14 @@
#include <iostream>
#include <string>
#include "ReadSTL.cpp"
using namespace std;
int main(int argc, char** argv) {
ReadSTL stl1(argv[1]);
cout << "Facets in file:" << stl1.getNumFacets() << endl;
cout << "Enter name of STL file: " << endl;
string filename;
cin >> filename;
ReadSTL stl1(filename);
cout << "Facets in file: " << stl1.getNumFacets() << endl;
cout << "X Min: " << stl1.getXmin() << endl;
cout << "X Max: " << stl1.getXmax() << endl;