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