Here is a fun little template to crash your compiler. Copy paste it into a file and check out the…

__func__ and __PRETTY_FUNCTION__ are both predefined symbols in clang. __func__ is actually part of the c++ 11 specification, while __PRETTY_FUNCTION__…

A vtkPolyData is just a list of points in 3D space along with lists of lines, polygons, triangles, and other…

I've been reading about polynomials lately and found that the polynomial division algorithm is a great example of a real…

If you have used C or C++ you have probably used the assert statement: Part of what makes assert so…

FULL CODE LINK: https://github.com/dillonhuff/gpr What is G code? G code is the universal language of machine tools. It is used to…

Algorithm: Explanation: Suppose we have a mesh . By definition the volume, , of the mesh is: The problem…

FULL CODE LINK: https://github.com/dillonhuff/polygon_area Algorithm Explanation So where does this algorithm come from? To see lets look at an example…

FULL CODE LINK: https://github.com/dillonhuff/stlparser The STL file format is a list of triangles. It has 3 parts: a header, the…

The implementation of Newells algorithm is simple The key fact behind this algorithm is that the values of the components…