System.Types.TSmallPoint.Distance

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

Delphi

function Distance(const P2 : TSmallPoint) : Double;

C++

double Distance(const TSmallPoint& p2) const _ALWAYS_INLINE {

プロパティ

種類 可視性 ソース ユニット
function public
System.Types.pas
SystemTypes.h
System.Types TSmallPoint

説明

2 つの TSmallPoint オブジェクト間の距離を計算します。

Distance は、2 つの TSmallPoint オブジェクトによって決定される分節を計算します。2 つの TSmallPoint オブジェクト間のユークリッド距離を計算します。

関連項目