Class TSingleList

Unit

Declaration

type TSingleList = class(specialize TStructList<Single>)

Description

List of Single (single-precision floating point) values.

Source: base/castleutils_primitive_lists.inc (line 80).

Hierarchy

Overview

Methods

Public function ToDouble: TDoubleList;
Public procedure Assign(const Source: TDoubleList); overload;
Public procedure AssignLerpRange(const Fraction: Single; const V1, V2: specialize TStructList<Single>; const Index1, Index2, ACount: TListSize); override;
Public procedure AddListRange(const Source: TSingleList; const Index, AddCount: TListSize); deprecated 'use AddSubRange';
Public function Equals(SecondValue: TObject): boolean; override;
Public function Sum: Single;
Public procedure MultiplyAll(const Factor: Single);
Public procedure SortAndRemoveDuplicates;
Public procedure AppendFloats(Floats: TFloatList);

Description

Methods

Public function ToDouble: TDoubleList;

This item has no description.

Source: base/castleutils_primitive_lists.inc (line 81).

Public procedure Assign(const Source: TDoubleList); overload;

Assign value from TDoubleList, converting to single-precision.

Source: base/castleutils_primitive_lists.inc (line 84).

Public procedure AssignLerpRange(const Fraction: Single; const V1, V2: specialize TStructList<Single>; const Index1, Index2, ACount: TListSize); override;

This item has no description.

Source: base/castleutils_primitive_lists.inc (line 86).

Public procedure AddListRange(const Source: TSingleList; const Index, AddCount: TListSize); deprecated 'use AddSubRange';

Warning: this symbol is deprecated: use AddSubRange

This item has no description.

Source: base/castleutils_primitive_lists.inc (line 90).

Public function Equals(SecondValue: TObject): boolean; override;

Does the SecondValue have equal length and content. The values are compared with an Epsilon tolerance, as usual for floating-point values.

Source: base/castleutils_primitive_lists.inc (line 95).

Public function Sum: Single;

This item has no description.

Source: base/castleutils_primitive_lists.inc (line 97).

Public procedure MultiplyAll(const Factor: Single);

Multiply all items by Factor.

Source: base/castleutils_primitive_lists.inc (line 100).

Public procedure SortAndRemoveDuplicates;

Sort and remove (exact) duplicates. Removal of duplicates is very fast, utilizing the fact that the list is sorted.

Source: base/castleutils_primitive_lists.inc (line 104).

Public procedure AppendFloats(Floats: TFloatList);

using deprecated, to keep it working

Source: base/castleutils_primitive_lists.inc (line 107).


Generated by PasDoc 0.17.0.snapshot.