VoronoiGrowthSimulator
Based on Site Saturated Nucleation and Isotropic Growth
Loading...
Searching...
No Matches
C:/Users/harshn/Desktop/VoronoiGrowthSimulator/example.cpp File Reference
#include "Voronoi.hpp"
Include dependency graph for example.cpp:

Go to the source code of this file.

Functions

int main (int argc, char *argv[])
 

Function Documentation

◆ main()

int main ( int argc,
char * argv[] )

Definition at line 5 of file example.cpp.

6{
7 int m = argc > 1 ? std::stoi(argv[1]) : 1000;
8 int n = argc > 2 ? std::stoi(argv[2]) : 1000;
9 int p = argc > 3 ? std::stoi(argv[3]) : 100;
10 Voronoi V(m, n, p);
11 V.Nucleate();
12 V.Grow();
13 std::string A = "Voronoi.csv";
14 V.WriteDataToCSV(A);
15 return 0;
16}
Represents a Voronoi diagram.
Definition Voronoi.hpp:27
Here is the call graph for this function: