Files
CS3210/Lab1/main.cpp
2022-03-14 21:19:38 -05:00

22 lines
610 B
C++

#include <iostream>
#include <string>
#include "ReadSTL.cpp"
using namespace std;
int main(int argc, char** argv) {
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;
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;
}