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…

In an earlier post I looked at some evidence that most of the elegance we see in physics comes from…

I've recently been re-reading one of my favorite programming book, The Science of Programming by David Gries. In the introduction…