API Reference > OdGe Classes > OdGeVector3d Class > OdGeVector3d Methods > angleTo Method > OdGeVector3d::angleTo Method (OdGeVector3d&)
OdGeVector3d::angleTo Method (OdGeVector3d&)
Syntax
C++
double angleTo(const OdGeVector3d& vect) const;
Parameters 
Description 
const OdGeVector3d& vect 
[in] Any 3D vector. 

angle to the specified vector in radians as a double value.

Returns the angle to the specified vector. 

 

  • Returns a value in the range [0.0 .. OdaPI].
  • This function is commutative.

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