Commit Graph

6 Commits

Author SHA1 Message Date
3850bdc592 created line.go and moved tests and funcs 2016-08-27 20:46:10 -07:00
ace4f45155 fixed typos and types in all tests 2016-08-27 19:08:51 -07:00
ff52a9115c added tests for rectangle intersection 2016-08-27 19:05: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