Commit Graph

5 Commits

Author SHA1 Message Date
fc4c1c820b determine size of rectangle
To determine the size of rectangle, it was required to be able to
determine who would be the neighboring points.  A neighbor is a point
that would make the exterior of the rectangle, not the cross-section.
Finding the neighbors allows for a simple l*w to calculate size.
2016-08-26 11:37:55 -07:00
b9bc23566f added method to determine distance between points
should be valuable to know what distance between two points is. Also
added testing
2016-08-26 11:37:18 -07:00
b5a9726d2d created rectangle struct and IsRect()
defined what a rectangle is and also implemented IsRect(), which returns
a bool whether the coordinates given make a rectangle or not.  Tests
were written for IsRect()
2016-08-26 09:08:30 -07:00
56f8910a4e updated gitignore for swp files 2016-08-26 09:07:42 -07:00
dm
f672f94faa initial commit 2016-08-26 08:13:01 -07:00