Class TSingleList

DescriptionHierarchyFieldsMethodsProperties

Unit

Declaration

type TSingleList = class(specialize TFPGList<Single>)

Description

Hierarchy

  • TFPGList
  • TSingleList

Overview

Methods

Public procedure AppendFloats(Floats: TFloatList);
Public function ToDouble: TDoubleList;
Public procedure Assign(Source: TDoubleList); overload;
Public procedure AssignLerp(const Fraction: Single; V1, V2: TSingleList; Index1, Index2, ACount: Integer);
Public procedure AddList(Source: TSingleList);
Public procedure AddListRange(Source: TSingleList; Index, AddCount: Integer);
Public procedure AddArray(const A: array of Single);
Public function L: PSingle;

Description

Methods

Public procedure AppendFloats(Floats: TFloatList);
 
Public function ToDouble: TDoubleList;
 
Public procedure Assign(Source: TDoubleList); overload;

Assign value from TDoubleList, converting to double-precision.

Public procedure AssignLerp(const Fraction: Single; V1, V2: TSingleList; Index1, Index2, ACount: Integer);

Assign linear interpolation between two other float arrays. We take ACount items, from V1[Index1 ... Index1 + ACount - 1] and V2[Index2 ... Index2 + ACount - 1], and interpolate between them like normal Lerp functions.

It's Ok for both V1 and V2 to be the same objects. But their ranges should not overlap, for future optimizations (although it's Ok for current implementation).

Public procedure AddList(Source: TSingleList);
 
Public procedure AddListRange(Source: TSingleList; Index, AddCount: Integer);
 
Public procedure AddArray(const A: array of Single);
 
Public function L: PSingle;
 

Generated by PasDoc 0.13.0 on 2014-04-30 22:06:45