API Reference > OdGe Classes > OdGeEllipCone Class > OdGeEllipCone Methods > set Method > OdGeEllipCone::set Method (double, double, OdGePoint3d&, double, double, OdGeVector3d&)
OdGeEllipCone::set Method (double, double, OdGePoint3d&, double, double, OdGeVector3d&)
Syntax
C++
OdGeEllipCone& set(double cosineAngle, double sineAngle, const OdGePoint3d& center, double minorRadius, double majorRadius, const OdGeVector3d& axisOfSymmetry);
Parameters 
Description 
double cosineAngle 
[in] The cosine of the angle between the generating line passing through the major axis, and the axis of symmetry.  
double sineAngle 
[in] The sine of the angle between the generating line passing through the major axis, and the axis of symmetry.  
const OdGePoint3d& center 
[in] The origin of this elliptical cone.  
double minorRadius 
[in] The minor radius of this elliptical cone.  
double majorRadius 
[in] The major radius of this elliptical cone.  
const OdGeVector3d& axisOfSymmetry 
[in] Axis of symmetry (rotation). 

A reference to this OdGeEllipCone object.

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

 

All angles are expressed in radians.

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