update src
This commit is contained in:
4
demo.cpp
4
demo.cpp
@@ -1,4 +1,4 @@
|
||||
#include "tin_backup.h"
|
||||
#include "tin.h"
|
||||
#include "iostream"
|
||||
#include "fstream"
|
||||
#include "iomanip"
|
||||
@@ -18,7 +18,7 @@ int main(int argc, char const *argv[])
|
||||
std::vector<double> err_records;
|
||||
std::vector<vertex2dc*> tin_vert;
|
||||
std::vector<triangle*> tin_ele;
|
||||
dem2tin(topo, 0, 1000, 0, 1000, 10, 10, tin_vert, tin_ele, 1.0, &err_records);
|
||||
dem2tin(topo, 0, 1000, 0, 1000, 10, 10, tin_vert, tin_ele, 0.5, &err_records);
|
||||
|
||||
// Write a log file
|
||||
std::ofstream logfile("topo_TIN.log");
|
||||
|
||||
Reference in New Issue
Block a user