API Reference > OdGe Classes > OdGeCylinder Class > OdGeCylinder Methods > set Method > OdGeCylinder::set Method (double, OdGePoint3d&, OdGeVector3d&)
OdGeCylinder::set Method (double, OdGePoint3d&, OdGeVector3d&)
Syntax
C++
OdGeCylinder& set(double radius, const OdGePoint3d& origin, const OdGeVector3d& axisOfSym);
Parameters 
Description 
double radius 
[in] Radius of this cylinder.  
const OdGeVector3d& axisOfSym 
[in] Axis of symmetry (rotation). 

A reference to this OdGeCylinder object.

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

 

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