3.1.Business requirements
Initial data set consists of random set of distinct points on a plane. Each point is defined using integer x, y coordinates from the range [0..100]. Candidate task is to find all squares that these points form on the plane. Result should be presented as list of squares (as coordinates of vertex points) as well as graphically. Example of graphical presentation is shown in picture below.
http://putfile.com/pic.php?pic=10/27803104929.jpg&s=x7 User can perform following actions from the web page.
User can see a list of points (as x, y coordinates).
User can add new point.
User can delete selected point.
User can execute task that finds all squares and displays results.
I guess that means squares - rectangles with all sides equal? At least webster defines "square" this way. Sorry english not my native language. Having that in mind this must not be just all 4-point combinations