4c4366a5d1
StraightLine: fixed typo while referencing line get_m()
...
Signed-off-by: HeshamTB <hishaminv@gmail.com>
2022-02-14 15:03:26 +03:00
be1a2e5300
basictypes: Catch zero division with virtical lines
...
Signed-off-by: HeshamTB <hishaminv@gmail.com>
2022-02-14 14:44:35 +03:00
be9706fef8
basictypes: StraightLine:
...
- Fix return type hint for __find_line()
- Rename Line to StraightLine
- Getters for m and b in StraightLine
- intercept in StraightLine
Find the intercept point of 2 Striaght lines
Signed-off-by: HeshamTB <hishaminv@gmail.com>
2022-01-30 18:40:59 +03:00
44ae995c2d
basictypes: Point: Added Eucledian distance from another point.
...
Signed-off-by: HeshamTB <hishaminv@gmail.com>
2022-01-30 18:39:31 +03:00
d0a2cbb0db
cleanup
...
Signed-off-by: HeshamTB <hishaminv@gmail.com>
2022-01-25 22:45:45 +03:00
80733cbedb
basictypes: working well with lines
...
Signed-off-by: HeshamTB <hishaminv@gmail.com>
2022-01-25 22:26:15 +03:00
5d73bca7ba
basictypes: implement gety/x, line m/b
...
Signed-off-by: HeshamTB <hishaminv@gmail.com>
2022-01-25 22:14:28 +03:00
5461422c6b
init: early test, classes WIP
2022-01-25 21:48:48 +03:00