API Reference > FacetModeler Namespace > Classes > Contour2D Class > Contour2D Methods > Contour2D::setOrientationAt Method
Contour2D::setOrientationAt Method
Syntax
C++
Result setOrientationAt(OdUInt32 iIndex, FaceOrientation eOrientation);
Parameters 
Description 
OdUInt32 iIndex 
[in] Segment index.  
FaceOrientation eOrientation 
[in] Orientation state to set.  

eOk if the segment orientation is set successfully, or a corresponding error type otherwise.

Sets the orientation of the segment with the specified index. 

 

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