If I'm given the coordinates (edit: in a plane) of 4 vertices of a quadrilateral, which conditions should I check to see if it is a square? Will it be sufficient if I check if -
all 4 sides are equal
all 4 angles are right angles (or even 2 angles are right angles?)
or are there other...