Source: https://gta.math.unibuc.ro/stup/geom_comp.pdf