System.Math.Vectors.TVector3D.Distance

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function Distance(const AVector: TVector3D): Single;

C++

float __fastcall Distance(const TVector3D &AVector);

Properties

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

Description

Computes and returns the distance between the Self (Delphi) or this (C++) vector and the given 3D vector. The other 3D vector is given by the AVector3D parameter.

See Also

Code Examples