https://www.study24x7.com/post/37935/computational-geometry-0