Close

Relief for ODA Team in Ukraine

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

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

 

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.
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.

Copyright © 2002-2022. Open Design Alliance All rights reserved.