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