System.Math.Vectors.TVector3D.Distance
Delphi
function Distance(const AVector: TVector3D): Single;
C++
float __fastcall Distance(const TVector3D &AVector);
プロパティ
| 種類 | 可視性 | ソース | ユニット | 親 |
|---|---|---|---|---|
| function | public | System.Math.Vectors.pas System.Math.Vectors.hpp |
System.Math.Vectors | TVector3D |
説明
Self (Delphi) または this (C++) ベクトルと、指定された 3D ベクトル間の、距離を計算して返します。 他の 3D ベクトルは、AVector3D パラメータで指定されます。