System.Types.TPointF.Length
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) への斜辺の長さを計算します。
斜辺の大きさは、二乗の座標の合計の平方根で計算されます。