API Reference > OdGe Classes > OdGeTorus Class > OdGeTorus Constructor > OdGeTorus::OdGeTorus Constructor (double, double, OdGePoint3d&, OdGeVector3d&)
OdGeTorus::OdGeTorus Constructor (double, double, OdGePoint3d&, OdGeVector3d&)
Syntax
C++
OdGeTorus(double majorRadius, double minorRadius, const OdGePoint3d& center, const OdGeVector3d& axisOfSymmetry);
Parameters 
Description 
double majorRadius 
[in] The major *radius* of this *torus*. The major radius is a distance from origin to the center of circular arc.  
double minorRadius 
[in] The minor *radius* of this *torus*. The minor radius defines a radius of circular arc.  
const OdGePoint3d& center 
[in] The origin of the this *torus*.  
const OdGeVector3d& axisOfSymmetry 
[in] Axis of symmetry (rotation). 

Constructor for the OdGeTorus class. 

 

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