API Reference > FacetModeler Namespace > Classes > Contour2D Class > Contour2D Methods > Contour2D::getLineSegAt Method
Contour2D::getLineSegAt Method
Syntax
C++
Result getLineSegAt(OdUInt32 iIndex, OdGeLineSeg2d& geLine) const;
Parameters 
Description 
OdUInt32 iIndex 
[in] Segment index.  
OdGeLineSeg2d& geLine 
[out] Resulting line segment as OdGeLineSeg2d.  

eOk if the line segment is found successfully, or a corresponding error type otherwise.

Gets a linear segment by the specified index. 

 

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