Previous: Point-storing, Up: Point


1.129.9 Point: truncation and round off

rounded
Answer a new point whose coordinates are rounded to the nearest integer


truncateTo: grid
Answer a new point whose coordinates are rounded towards -infinity, to a multiple of grid (which must be a Number)