TestSubjector / CompGeometry

A Project on Computational Geometry

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SelTopicsRepository

The Computational Geometry work related to the BITS Course CS-F441 [Selected Topics in CS]

Instructions for the visualizer

The Visualizer is written in Python 2.7.13 and uses matplotlib as a dependency. So make sure both of these are on your system. matplotlib can be downloaded via pip by executing

pip install matplotlib

It operates as a command-line utility and reads input from a CH file. The command syntax is like

PythonVisualiser path_to_ch_file

In case the path is omitted, ./input.ch is the default file location that is taken.

The output is graphically displayed in a window that allows operations such as pan, zoom etc.

Known Shortcomings: If the graph has majority of points clustered nearby (i.e. they require a smaller scale) but there is also one point that is far away from this cluster, then the scale is taken as large in order to accommodate this point into the display. This means the cluster might not look like a hull at all unless appropriate scale is achieved by pan and zoom.

About

A Project on Computational Geometry

License:MIT License


Languages

Language:HTML 64.0%Language:JavaScript 13.1%Language:C++ 11.1%Language:CSS 6.4%Language:Charity 4.7%Language:C 0.4%Language:Python 0.2%