AngleTo (class MKI_VECTOR) New in Version 2022.1

www.CAD6.com

C++ Syntax

double

MKI_VECTOR::AngleTo(

 const MKI_VECTOR& f_rVector ) const;

 

Calculates the signed angle between this vector and Vector.

 

Return Value

Returns the angle in [rad] in the range of -MKI_MATH_PI <= Angle <= MKI_MATH_PI. If the product of the two vectors' lengths is below MKI_EDIT_MIN, the returned angle will be MKI_DOUBLE_NOVAL.

 

CAD6interface 2025.0 - Copyright 2025 Malz++Kassner® GmbH