Record TR3VecQuantityHelper

Unit

Declaration

type TR3VecQuantityHelper = record helper for TR3VecQuantity

Description

Record helper for TR3VecQuantity providing additional operations specific to 3-component real quantity vectors. Only available when ADIMOFF is not defined.

Overview

Methods

Public function Cross(const AVector: TR3VecQuantity): TR3VecQuantity;
Public function Dot(const AVector: TR3VecQuantity): TQuantity;

Description

Methods

Public function Cross(const AVector: TR3VecQuantity): TR3VecQuantity;

Returns the cross product of two 3-component real quantity vectors. Defined as u×v = (u₂v₃ - u₃v₂, u₃v₁ - u₁v₃, u₁v₂ - u₂v₁). The result is a vector perpendicular to both operands with magnitude |u||v|sin(θ). The resulting dimension is the product of the two operand dimensions.

Parameters
AVector
The right-hand operand.
Public function Dot(const AVector: TR3VecQuantity): TQuantity;

Returns the dot product of two 3-component real quantity vectors. Defined as u·v = u₁v₁ + u₂v₂ + u₃v₃. The resulting dimension is the product of the two operand dimensions.

Parameters
AVector
The right-hand operand.

Generated by PasDoc 1.0.4.