Commit Graph

7 Commits

Author SHA1 Message Date
ecc870943e added documentation for all functions 2016-08-27 21:14:16 -07:00
9b908a8db1 changed permission on func and added maximum error
made sure that not all functions were public and changed some to private
that need not be exposed.

also added in maximum error to deal with floating point inaccuracies
2016-08-27 20:46:32 -07:00
3850bdc592 created line.go and moved tests and funcs 2016-08-27 20:46:10 -07:00
3d8e58a61c added function to get intersection of two lines 2016-08-27 18:55:26 -07:00
d6e76ef26b functions to determine if point is on line
also includes lineOnLine to determine if a line is on another line.
Added a new type line struct which consists of two points.
2016-08-26 16:26:59 -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