Computational geometry tools to model and analyze the crystallization of molten substances