Class TSingleList
Unit
CastleUtils
Declaration
type TSingleList = class(specialize TStructList<Single>)
Description
No description available, ancestor TStructList description follows
List of structures. This is just TList class from Generics.Collections, with some useful helpers.
Hierarchy
Overview
Methods
Description
Methods
|
procedure Assign(const Source: TDoubleList); overload; |
Assign value from TDoubleList, converting to single-precision.
|
|
procedure AssignLerpRange(const Fraction: Single; const V1, V2: specialize TStructList<Single>; const Index1, Index2, ACount: TListSize); override; |
|
|
procedure AddListRange(const Source: TSingleList; const Index, AddCount: TListSize); deprecated 'use AddSubRange'; |
Warning: this symbol is deprecated: use AddSubRange |
|
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.
|
|
function Sum: Single; |
|
|
procedure MultiplyAll(const Factor: Single); |
Multiply all items by Factor.
|
|
procedure SortAndRemoveDuplicates; |
Sort and remove (exact) duplicates. Removal of duplicates is very fast, utilizing the fact that the list is sorted.
|
Generated by PasDoc 0.16.0.