System.Types.TSmallPoint.Distance
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 オブジェクト間のユークリッド距離を計算します。