Previous: , Up: Point   [Index]


1.132.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)