Div divides x and y by f.
(f float64)
| 273 | |
| 274 | // Div divides x and y by f. |
| 275 | func (p Point) Div(f float64) Point { |
| 276 | return Point{p.X / f, p.Y / f} |
| 277 | } |
| 278 | |
| 279 | // Rot90CW rotates the line OP by 90 degrees CW. |
| 280 | func (p Point) Rot90CW() Point { |
no outgoing calls