API Reference > OdGe Classes > OdGeCone Class > OdGeCone Methods > set Method > OdGeCone::set Method (double, double, OdGePoint3d&, double, OdGeVector3d&)
OdGeCone::set Method (double, double, OdGePoint3d&, double, OdGeVector3d&)
Syntax
C++
OdGeCone& set(double cosineAngle, double sineAngle, const OdGePoint3d& baseCenter, double baseRadius, const OdGeVector3d& axisOfSymmetry);
Parameters 
Description 
double cosineAngle 
[in] The cosine of the angle between the generating line and the axis of symmetry.  
double sineAngle 
[in] The sine of the angle between the generating line and the axis of symmetry.  
const OdGePoint3d& baseCenter 
[in] Center of the base.  
double baseRadius 
[in] Radius of the base.  
const OdGeVector3d& axisOfSymmetry 
[in] Axis of symmetry (rotation). 

A reference to this OdGeCone object.

Sets the parameters for this cone according to the arguments, and returns a reference to this cone. 

 

All angles are expressed in radians.

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