System.Math.Vectors.TVector3D.Distance

From Appmethod Libraries
Jump to: navigation, search

Object Pascal

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 (Object Pascal) or this (C++) vector and the given 3D vector. The other 3D vector is given by the AVector3D parameter.

See Also

Code Examples