[Overview][Types][Classes][Procedures and functions][Index] Reference for unit 'matrix' (#rtl)

Tvector2_double.squared_length

Calculates the squared length of the vector.

Declaration

Source position: matrix.pp line 76

function Tvector2_double.squared_length: double;

Description

Calculate the squared length of the vector: squared_length=data[0]**2+data[1]**2.

The latest version of this document can be found at lazarus-ccr.sourceforge.net.