System.Math.Vectors.TVector3D.Distance

提供: RAD Studio API Documentation
移動先: 案内検索

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 パラメータで指定されます。

関連項目