Commit Graph

9 Commits

Author SHA1 Message Date
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