System.Types.TPointF.Normalize

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function Normalize: TPointF;

C++

TPointF Normalize() const _ALWAYS_INLINE {

Properties

Type Visibility Source Unit Parent
function public
System.Types.pas
SystemTypes.h
System.Types TPointF

Description

Function to normalize the current TPointF object.

Normalizing a TPointF object involves two steps:

  1. Calculate the Length.
  2. Divide each of the coordinates of the TPointF object by the Length.

Normalize returns the current TPointF object normalized.

See Also