func (t *Translation) Apply(point geometry.Point) (newPoint geometry.Point) {
	if t == nil {
		return point
	}

	return geometry.NewInts(
		point.MustGet(0).Int()+t.coord.MustGet(0).Int(),
		point.MustGet(1).Int()+t.coord.MustGet(1).Int(),
	)
}
// Apply moves a point by the amounts given in this Translation.
Apply moves a point by the amounts given in this Translation.
// Apply moves a point by the amounts given in this Translation .
func (t *Translation) Apply(point geometry.Point) (newPoint geometry.Point) {
	if t == nil {
		return point
	}
	return geometry.NewInts(
		point.MustGet(0).Int()+t.coord.MustGet(0).Int(),
		point.MustGet(1).Int()+t.coord.MustGet(1).Int(),
	)
}
func ( t * Translation ) Apply ( point geometry . Point ) ( newPoint geometry . Point ) { if t == nil { return point } return geometry . NewInts ( point . MustGet ( 0 ) . Int ( ) + t . coord . MustGet ( 0 ) . Int ( ) , point . MustGet ( 1 ) . Int ( ) + t . coord . MustGet ( 1 ) . Int ( ) , ) }
Apply moves a point by the amounts given in this Translation.
Apply moves a point by the amounts given in this Translation .