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. 

Returns the angle to the specified vector. 

 

If refVector is not specified:

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

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