API Reference > FacetModeler Namespace > Classes > Body Class > Body Methods > revolution Method > Body::revolution Method (Profile2D&, OdGeCircArc3d&, DeviationParams&, OdGeMatrix2d*)
Body::revolution Method (Profile2D&, OdGeCircArc3d&, DeviationParams&, OdGeMatrix2d*)
Syntax
C++
static Body revolution(const Profile2D& base, const OdGeCircArc3d& revAxisAndAngles, const DeviationParams& deviation = FMGeGbl::gDefDev, const OdGeMatrix2d* pBaseTransform = NULL);
Parameters 
Description 
const Profile2D& base 
[in] Base profile (on XY plane).  
const OdGeCircArc3d& revAxisAndAngles 
[in] Circle arc with specified revolution axis as normal and revolution angles.  
const DeviationParams& deviation = FMGeGbl::gDefDev 
[in] Deviation parameters.  
const OdGeMatrix2d* pBaseTransform = NULL 
[in] (Optional) Transform to be applied to the base profile while being revolved.  

Resulting body.

Creates a revolution body using a base profile, circle arc with revolution axis and angles, and deviation parameters. 

 

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