FMX.InertialMovement.TPointD.operator Addition

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

class operator Equal(const Lhs, Rhs: TPointD): Boolean;
class operator NotEqual(const Lhs, Rhs: TPointD): Boolean; overload;
class operator Add(const Lhs, Rhs: TPointD): TPointD;

Properties

Type Visibility Source Unit Parent
function public FMX.InertialMovement.pas FMX.InertialMovement TPointD

Description

Returns the sum of two TPointD points.

operator Addition returns the TPointD vertex of the vector obtained as the sum of two vectors having origins in the root of the coordinate system and other vertices in the Lhs and Rhs points, respectively. The X property of the result is the sum between the X value of the first Lhs TPointD point and the X value of the second Rhs point. The Y property of the result is the sum between the Y value of the first Lhs TPointD point and the Y value of the second Rhs point.

See Also