System.Types.TPointF.Length

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

Delphi

function Length: Single;

C++

float Length() const _ALWAYS_INLINE { return hypot(x, y); }

プロパティ

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


説明

TPointF オブジェクトの座標 (0,0) から (X,Y) への斜辺の長さを計算します。

斜辺の大きさは、二乗の座標の合計の平方根で計算されます。

関連項目