Close

Relief for ODA Team in Ukraine

Learn more
ODA Kernel SDK
OdGeVector2d::angleTo Method
Syntax
C++
double angleTo(const OdGeVector2d& vect) const;

Returns the angle between this vector and the specified vector. 

 

Parameters
Description
vect
[in] A 2D vector, angle to which is measured.

Returns a value in the range [0.0 .. OdaPI]. 

This function is commutative: 

a.angleTo (b) == b.angleTo (a)

Copyright © 2002-2022. Open Design Alliance All rights reserved.