System.Math.Vectors.TPoint3D.DotProduct
Delphi
function DotProduct(const APoint: TPoint3D): Single; inline;
C++
float __fastcall DotProduct(const TPoint3D &APoint);
プロパティ
種類 | 可視性 | ソース | ユニット | 親 |
---|---|---|---|---|
function | public | System.Math.Vectors.pas System.Math.Vectors.hpp |
System.Math.Vectors | TPoint3D |
説明
2 つの TPoint3D オブジェクト間のドット プロダクトを計算します。
この関数は、Single 値を返します。 2 つの TPoint3D オブジェクト間のドット プロダクトは、次の例で定義されています:
aReturnValue := (aPoint1.X * aPoint2.X) + (aPoint1.Y * aPoint2.Y) + (aPoint1.Z + aPoint2.Z);