API Reference > OdIfc Namespace > Classes > OdIfcModelerGeometry Class > OdIfcModelerGeometry Methods > sweep Method > OdIfcModelerGeometry::sweep Method (OdIfcSectionedSolidPtr)
OdIfcModelerGeometry::sweep Method (OdIfcSectionedSolidPtr)
Syntax
C++
virtual OdResult sweep(OdIfcSectionedSolidPtr pSolid) = 0;
Parameters 
Description 
OdIfcSectionedSolidPtr pSolid 
[in] A smart pointer to the sectioned solid entity. 

Returns the operation result code:

  • eOk if the revolution was created successfully.
  • eNullPtr if the smart pointer to the sectioned solid entity is NULL.
  • eGeneralModelingFailure in other cases.

Creates a solid constructed by sweeping potentially variable cross sections along a directrix. 

 

Copyright (c) 2002-2021. Open Design Alliance. All rights reserved.