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

Returns the operation result code:

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

Sweeps the body along a path and stores the result in the geometry modeler object. 

 

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