Unit 'matrix' Package
[Overview][Types][Classes][Procedures and functions][Index] [#rtl]

Tvector2_double

[Properties (by Name)] [Methods (by Name)] [Events (by Name)]

Double precision vector of two scalars.

Declaration

Source position: matrix.pp line 73

type Tvector2_double = object

  data: Tvector2_double_data;

  

Internal data of Tvector2.double.

  constructor init_zero;

  

Initializes the vector and sets its elements to zero.

  constructor init_one;

  

Initializes the vector and sets its elements to one.

  constructor init();

  

Initializes the vector, setting its elements to the values passed to the constructor.

  function length;

  

Calculates the length of the vector.

  function squared_length;

  

Calculates the squared length of the vector.

end;

Inheritance

Tvector2_double

  

Double precision vector of two scalars.

|

TObject

  

Base class of all classes.

Description

The Tvector2_double object provides a vector of two double precision scalars.


Documentation generated on: Oct 27 2024