[Overview][Types][Classes][Procedures and functions][Index] |
Calculates the length of the vector.
Source position: matrix.pp line 75
function Tvector2_double.length: double; |
Calculate the length of the vector: length=sqrt(data[0]**2+data[1]**2). Try to use squared_length if you are able to, as it is faster.
lazarus-ccr.sourceforge.net |