System.Math.Vectors.TPoint3D.operator Addition

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

class function Create(const APoint: TPointF; const AZ: Single = 0.0): TPoint3D; overload; static; inline;
class operator Add(const APoint1, APoint2: TPoint3D): TPoint3D;

Properties

Type Visibility Source Unit Parent
function public System.Math.Vectors.pas System.Math.Vectors TPoint3D

Description

Calculates the sum between two points.

Call Addition to calculate the sum between two points. The X property of the result is the sum between the X value of the first TPoint3D object and the value of X of the second TPoint3D object. The Y property of the result is the sum between the Y value of the first TPoint3D object and the value of Y of the second TPoint3D object. The Z property of the result is the sum between the Z value of the first TPoint3D object and the value of Z of the second TPoint3D object.

See Also