point2line
index
 
Name magnitude ( )
Description Returns the magnitude of the vector, also referred to as the length.
Syntax
magnitude();
Returns magnitude of this vector (float)
Usage Web & Application
Related setMagnitude ( )
Examples
import point2line.*;

Vect2 velocity = new Vect2( 10, 10 );

print( velocity.magnitude() ); // prints "14.142136"