API Reference > OdDb Classes > OdDbLoftOptions Class > OdDbLoftOptions Methods > OdDbLoftOptions::setAlignDirection Method
OdDbLoftOptions::setAlignDirection Method
Syntax
C++
void setAlignDirection(bool alignDir);
Parameters 
Description 
bool alignDir 
[in] A new value of the direction alignment flag. 

Sets the value of the direction alignment flag. 

The direction alignment flag is used to orient each of the cross sections so that the normal vector of each cross section points towards the next cross section. The default value is true. If the cross sections are not all oriented in the same direction, then this flag should be used to avoid creating a twisted or self-intersecting surface. 

 

Copyright © 2002–2021. Open Design Alliance. All rights reserved.