System.Types.TSmallPoint.Distance

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function Distance(const P2 : TSmallPoint) : Double;

C++

double Distance(const TSmallPoint& p2) const _ALWAYS_INLINE {

Properties

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

Description

Calculates the distance between two TSmallPoint objects.

Distance calculates the segment determined by two TSmallPoint objects. It calculates the euclidean distance between two TSmallPoint objects.

See Also