Navigation: Code Documentation > RSCommon > CommonInterfaces > Interfaces > IVector > Methods
IVector.DistanceTo(ILocation) Method
Returns the distance between the XYZ component of the input vector and the XYZ component of the current vector.
Namespace: CommonInterfaces
Delphi
public function DistanceTo( const Vector: ILocation ): Single; overload;
Parameters
Vector
Type: ILocation
Type: Single
•CommonInterfaces.IVector.DistanceSqrTo(Single,Single,Single)
•IVector
•CommonInterfaces