System.Math.Vectors.TPoint3D.DotProduct
Delphi
function DotProduct(const APoint: TPoint3D): Single; inline;
C++
float __fastcall DotProduct(const TPoint3D &APoint);
Propriétés
Type | Visibilité | Source | Unité | Parent |
---|---|---|---|---|
function | public | System.Math.Vectors.pas System.Math.Vectors.hpp |
System.Math.Vectors | TPoint3D |
Description
Calcule le produit scalaire de deux objets TPoint3D.
Cette fonction renvoie une valeur Single. Le produit scalaire de deux objets TPoint3D est défini dans l'exemple suivant :
aReturnValue := (aPoint1.X * aPoint2.X) + (aPoint1.Y * aPoint2.Y) + (aPoint1.Z + aPoint2.Z);