Code and data for "Computational morphology of constant slope fans on irregular terrain using the visibility polygon" - Tzu-Yin Kasha Chen (2022)