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] 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.  
OdIfcAxisLateralInclinationPtr pInclination 
[in] A smart pointer to an object that represents the lateral inclination of the base profile based on the specified path.  
bool isFixedAxisVertical 
[in] A flag that 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 the slope (false). 
  • eOk if the method works successfully.
  • eNullEntityPointer if the pProfile or the OdGeCurvePtrs smart pointers are NULL
  • eGeneralModelingFailure in other cases.

Creates a specialized IfcDirectrixDistanceSweptAreaSolid object. The orientation of the profile's X-axis always follows the rule defined by the specified IfcAxisLateralInclination object. 

 

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