WesternStar / 3d_pathing

Old C++ final

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

3d_pathing

Old C++ Final

Algorithim

1.Read the file names for the output and the shapes file and the input
2. Read the PGM file into memory loading the values and determining the xsize, ysize,zsize and the gridsize from the values read in from the pgm
3. open the shape file
4. read the shapetype into an enumerator.
5. Read the shape Parameters for the corresponding shape.
6. Read the starting and ending points and test those locations.
7. Compute the distances
8. Write the resulting path

Compute Distances

  1. Called with the

About

Old C++ final


Languages

Language:C++ 98.8%Language:CMake 1.2%