Commit Graph

12 Commits

Author SHA1 Message Date
88ed955ce4 Added Atan2, Len, Norm for PointF{,32}.
Added Dot for Point{,F,F32}
2021-08-09 01:35:30 +02:00
a7a4688687 Add Mul2D to Point{,F,F32}. 2021-08-06 19:11:58 +02:00
d1d4aec900 Added XY method for Point{,F,F32} that returns the coordinates. 2021-08-06 16:08:30 +02:00
82f27a2b4a Added Rect{,2D,Rel,Rel2D} methods on Point{,F,F32} to create a rectangle with the point as minimum. 2020-05-17 11:27:12 +02:00
18bac571b8 Added PointF{,32}.ToInt that converts the point to a Point.
Added Point.In(Rectangle).
2020-05-16 19:52:05 +02:00
9b12441b43 Added {Min,Max}Pt{,F,F32}. 2019-12-28 18:26:08 +01:00
3eeedf121e Added Div and Mul operations for points.
Moved Less method (for Point) to sort alphabetically.
2019-12-23 15:09:33 +01:00
4df2655b53 Added point conversion methods (from integer to float). 2019-12-23 13:53:10 +01:00
fc18ea9ce8 Moved integer related methods to separate package. 2019-12-21 12:48:57 +01:00
40abdf0439 Point is now its own struct.
- Removed dependency on image package.
Added more methods to manipulate point.
2019-12-21 11:42:01 +01:00
8ad3ad6a18 Added PointF32 implementation of some methods. 2018-11-14 10:27:03 +01:00
26bac636bc Initial version of the geom package
- Includes PointF, RectangleF and PolygonF. Additional it includes the 32 bit floating point PointF32 and wrappers to image.Point and image.Rectangle.
2017-11-01 06:51:41 +01:00