Versions in this module Expand all Collapse all v1 v1.0.1 May 3, 2023 v1.0.0 May 3, 2023 Changes in this version + type Point struct + X int64 + Y int64 + func AsPoint(to ...int64) *Point + func NewPoint() *Point + func (p *Point) Abs() *Point + func (p *Point) Copy() *Point + func (p *Point) Distance(x, y int64) int + func (p *Point) DistanceTo(o *Point) int + func (p *Point) Equal(to ...int64) bool + func (p *Point) EqualTo(o *Point) bool + func (p *Point) Greater(than ...int64) bool + func (p *Point) GreaterThan(o *Point) bool + func (p *Point) IsX(x int64) bool + func (p *Point) IsY(y int64) bool + func (p *Point) IsZero() bool + func (p *Point) Less(than ...int64) bool + func (p *Point) LessThan(o *Point) bool + func (p *Point) Move(by ...int64) *Point + func (p *Point) MoveBy(o *Point) *Point + func (p *Point) Negate() *Point + func (p *Point) Set(to ...int64) *Point + func (p *Point) SetTo(o *Point) *Point + func (p *Point) String() string + func (p *Point) Within(topLeft, botRight *Point) bool + func (p *Point) Zero() *Point