Castle Game Engine: CastleVectors: Class TVector2SingleList

# Class TVector2SingleList
Description | Hierarchy | Fields | Methods | Properties
## Unit CastleVectors ## Declaration `type TVector2SingleList = class(specialize TGenericStructList<TVector2Single>)` ## Description no description available, TGenericStructList description follows Generic list of types that are compared by CompareByte. This is equivalent to TFPGList, except it doesn't override IndexOf, so your type doesn't need to have a "=" operator built-in inside FPC. When calling IndexOf or Remove, it will simply compare values using CompareByte, this is what TFPSList.IndexOf uses. This way it works to create lists of records, vectors (constant size arrays), old-style TP objects, and also is suitable to create a list of methods (since for methods, the "=" is broken, for Delphi compatibility, see http://bugs.freepascal.org/view.php?id=9228). We also add some trivial helper methods like Add and L. ## Hierarchy TFPSList TGenericStructList TVector2SingleList ## Overview ### Methods
| `function MinMax(out Min, Max: TVector2Single): boolean;`
| `procedure AssignLerp(const Fraction: Single; V1, V2: TVector2SingleList; Index1, Index2, ACount: Integer);`
| `procedure AddList(Source: TVector2SingleList);`
| `procedure AddListRange(Source: TVector2SingleList; Index, AddCount: Integer);`
| `procedure AddArray(const A: array of TVector2Single);`
| `procedure AssignArray(const A: array of TVector2Single);`
## Description ### Methods
| `function MinMax(out Min, Max: TVector2Single): boolean;`
Calculate minimum and maximum values for both dimensions of this set of points. Returns `False` when Count = 0.
| `procedure AssignLerp(const Fraction: Single; V1, V2: TVector2SingleList; Index1, Index2, ACount: Integer);`
Assign linear interpolation between two other vector arrays. ###### See also TVector3SingleList.AssignLerp Assign linear interpolation between two other vector arrays.
| `procedure AddList(Source: TVector2SingleList);`
| `procedure AddListRange(Source: TVector2SingleList; Index, AddCount: Integer);`
| `procedure AddArray(const A: array of TVector2Single);`
| `procedure AssignArray(const A: array of TVector2Single);`
Generated by PasDoc 0.13.0 on 2015-06-15 04:43:13