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

Tvector3_double

Double precision vector of three scalars.

Declaration

Source position: matrix.pp line 101

type Tvector3_double = record

public

  data: Tvector3_double_data;

  

Internal data of Tvector3.double.

  procedure init_zero;

  

Initializes the vector and sets its elements to zero.

  procedure init_one;

  

Initializes the vector and sets its elements to one.

  procedure 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;

Description

The Tvector3_double object provides a vector of three double precision scalars.


Documentation generated on: Nov 22 2026 Report a problem on this page