Return the length of this vector. @return the length
()
| 560 | * @return the length |
| 561 | */ |
| 562 | @SafeToToString |
| 563 | public double length() { |
| 564 | return Math.sqrt((x * x) + (y * y)); |
| 565 | } |
| 566 | |
| 567 | /** |
| 568 | * Return the length squared of this vector. |
no outgoing calls
no test coverage detected