API Reference > OdIfc Namespace > Classes > OdIfcModelerGeometry Class > OdIfcModelerGeometry Methods > OdIfcModelerGeometry::sweepWithInclination Method
OdIfcModelerGeometry::sweepWithInclination Method
Syntax
C++
virtual OdResult sweepWithInclination(OdIfcProfileDefPtr pProfile, OdGeCurve3dPtr pPath, OdIfcAxisLateralInclinationPtr pInclination, bool isFixedAxisVertical) = 0;
Parameters 
Description 
OdIfcProfileDefPtr pProfile 
[in] Base profile for sweep.  
OdGeCurve3dPtr pPath 
[in] Main sweep path.  
OdIfcAxisLateralInclinationPtr pInclination 
[in] Defines the lateral inclination pProfile based on pPath.  
bool isFixedAxisVertical 
[in] Indicates whether the profile is oriented with its Y axis facing upwards in +Z direction (True), or vertically perpendicular to the sweep directrix varying according to slope (False). 

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

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

 

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