API Reference > OdIfc Namespace > Classes > OdIfcModelerGeometry Class > OdIfcModelerGeometry Methods > OdIfcModelerGeometry::sweepWithCant Method
OdIfcModelerGeometry::sweepWithCant Method
Syntax
C++
virtual OdResult sweepWithCant(OdIfcProfileDefPtr pProfile, OdGeCurve3dPtr pPath, OdIfcAlignmentCantPtr pInclination) = 0;
Parameters 
Description 
OdIfcProfileDefPtr pProfile 
[in] A smart pointer to the base profile for the sweep.  
OdGeCurve3dPtr pPath 
[in] A smart pointer to a curve object that defines the main sweep path.  
pCant 
[in] Defines the lateral inclination of the sweep profile based on the sweep path. 

Returns result code, eOk if all right, eNullEntityPointer if pProfile or OdGeCurvePtrs are NULL, or eGeneralModelingFailure in other cases.

Creates a specialized sweep with cants. The orientation of the profile's x-axis is always follows the rule defined by the IfcAlignment. 

 

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