Commit Graph

7 Commits

Author SHA1 Message Date
Derek McQuay 634cd011c0 ran gofmt -s
simplify things after having run gofmt -s
2016-08-29 10:27:36 -07:00
Derek McQuay 3850bdc592 created line.go and moved tests and funcs 2016-08-27 20:46:10 -07:00
Derek McQuay ace4f45155 fixed typos and types in all tests 2016-08-27 19:08:51 -07:00
Derek McQuay ff52a9115c added tests for rectangle intersection 2016-08-27 19:05:10 -07:00
Derek McQuay 3d8e58a61c added function to get intersection of two lines 2016-08-27 18:55:26 -07:00
Derek McQuay 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
Derek McQuay 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