System.Types.TSmallPoint.Distance
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.