Close

Relief for ODA Team in Ukraine

Learn more
ODA IFC SDK
OdIfcModelerGeometry::sweepWithInclination Method
Syntax
C++
virtual OdResult sweepWithInclination(OdIfcProfileDefPtr pProfile, OdGeCurve3dPtr pPath, OdIfcAxisLateralInclinationPtr pInclination, bool isFixedAxisVertical) = 0;

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

 

Parameters
Description
pProfile
[in] A smart pointer to the base profile for the sweep.
pPath
[in] A smart pointer to a curve object that defines the main sweep path.
pInclination
[in] A smart pointer to an object that represents the lateral inclination of the base profile based on the specified path.
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.
Copyright © 2002-2022. Open Design Alliance All rights reserved.