Navigation: Code Documentation > RSCommon > RSVector > Classes > TRSVector > Methods
TRSVector.DistanceTo(Single,Single,Single) Method
Returns the distance between the XYZ point and the XYZ component of the current vector.
Namespace: RSVector
Delphi
public function DistanceTo( const X, Y, Z: Single ): Single; overload;
Parameters
X
Type: Single
Y
Z
IVector.DistanceTo(Single,Single,Single)
•RSVector.TRSVector.DistanceSqrTo(Single,Single,Single)
•TRSVector
•RSVector