API Reference > OdGe Classes > OdGeCone Class > OdGeCone Methods > OdGeCone::getHalfAngle Method
OdGeCone::getHalfAngle Method
Syntax
C++
void getHalfAngle(double& cosineAngle, double& sineAngle) const;
Parameters 
Description 
double& cosineAngle 
[out] Receives the cosine of the angle.  
double& sineAngle 
[out] Receives the sine of the angle. 

Retrieves the cosine and the sine of the angle between the generating line and the axis of symmetry.

Absolute value is returned for both functions (i.e. any signs are dropped). 

 

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