Class TVector3List

Unit

Declaration

type TVector3List = class(specialize TStructList<TVector3>)

Description

List of TVector3. Note that the notification mechanism (OnNotify) is broken here by routines like AddRange and AddSubRange (for maximum speed).

Source: base/castlevectors_lists.inc (line 50).

Hierarchy

Overview

Methods

Public procedure AssignNegated(const Source: TVector3List); deprecated 'use Assign and Negate separately';
Public procedure Negate;
Public procedure Normalize;
Public procedure MultiplyComponents(const V: TVector3);
Public procedure AssignLerpRange(const Fraction: Single; const V1, V2: specialize TStructList<TVector3>; const Index1, Index2, ACount: TListSize); override;
Public procedure AssignLerpNormalize(const Fraction: Single; const V1, V2: TVector3List; const Index1, Index2, ACount: TListSize);
Public procedure AssignLerpRgbInHsv(const Fraction: Single; const V1, V2: TVector3List; const Index1, Index2, ACount: TListSize);
Public procedure AddRange(const Source: TVector3List); overload;
Public procedure AddSubRange(const Source: TVector3List; const Index, AddCount: Integer);
Public procedure AddListRange(const Source: TVector3List; const Index, AddCount: Integer); deprecated 'use AddSubRange';
Public procedure AddRangeTransformed(const Source: TVector3List; const Transform: TMatrix4);
Public function ToVector4(const W: Single): TVector4List;
Public function MergeCloseVertexes(MergeDistance: Single): Cardinal;
Public function Equals(SecondValue: TObject): boolean; override;

Description

Methods

Public procedure AssignNegated(const Source: TVector3List); deprecated 'use Assign and Negate separately';

Warning: this symbol is deprecated: use Assign and Negate separately

This item has no description.

Source: base/castlevectors_lists.inc (line 52).

Public procedure Negate;

Negate all items.

Source: base/castlevectors_lists.inc (line 55).

Public procedure Normalize;

Normalize all items. Zero vectors are left as zero.

Source: base/castlevectors_lists.inc (line 58).

Public procedure MultiplyComponents(const V: TVector3);

Multiply each item, component-wise, with V.

Source: base/castlevectors_lists.inc (line 61).

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

This item has no description.

Source: base/castlevectors_lists.inc (line 63).

Public procedure AssignLerpNormalize(const Fraction: Single; const V1, V2: TVector3List; const Index1, Index2, ACount: TListSize);

Assign linear interpolation between two other vector arrays, and normalize resulting vectors.

See also
AssignLerp
Assign linear interpolation between two other arrays.

Source: base/castlevectors_lists.inc (line 70).

Public procedure AssignLerpRgbInHsv(const Fraction: Single; const V1, V2: TVector3List; const Index1, Index2, ACount: TListSize);

Assign linear interpolation between two other vector arrays, treating vectors as RGB colors and interpolating in HSV space.

See also
AssignLerp
Assign linear interpolation between two other arrays.

Source: base/castlevectors_lists.inc (line 77).

Public procedure AddRange(const Source: TVector3List); overload;

This item has no description.

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

Public procedure AddSubRange(const Source: TVector3List; const Index, AddCount: Integer);

This item has no description.

Source: base/castlevectors_lists.inc (line 82).

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

Warning: this symbol is deprecated: use AddSubRange

This item has no description.

Source: base/castlevectors_lists.inc (line 83).

Public procedure AddRangeTransformed(const Source: TVector3List; const Transform: TMatrix4);

This item has no description.

Source: base/castlevectors_lists.inc (line 85).

Public function ToVector4(const W: Single): TVector4List;

Convert to TVector4List, with 4th vector component in new array set to constant W.

Source: base/castlevectors_lists.inc (line 89).

Public function MergeCloseVertexes(MergeDistance: Single): Cardinal;

When two vertexes on the list are closer than MergeDistance, set them truly (exactly) equal. Returns how many vertex positions were changed.

Source: base/castlevectors_lists.inc (line 94).

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/castlevectors_lists.inc (line 99).


Generated by PasDoc 0.17.0.snapshot.