System.Types.TPointF.Normalize

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

Delphi

function Normalize: TPointF;

C++

TPointF Normalize() const _ALWAYS_INLINE {

プロパティ

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


説明

現在の TPointF オブジェクトを正規化する関数。

TPointF オブジェクトの正規化には、2 つのステップを伴います:

  1. Length を計算します。
  2. TPointF オブジェクトの座標のそれぞれを、Length で割ります。

Normalize は、正規化された現在の TPointF オブジェクトを返します。

関連項目