API Reference > FacetModeler Namespace > Classes > Contour2D Class > Contour2D Methods > getSegmentAt Method > Contour2D::getSegmentAt Method (OdUInt32, Segment2D&)
Contour2D::getSegmentAt Method (OdUInt32, Segment2D&)
Syntax
C++
Result getSegmentAt(OdUInt32 iIndex, Segment2D& rSegment) const;
Parameters 
Description 
OdUInt32 iIndex 
[in] Segment index.  
Segment2D& rSegment 
[out] Found segment.  

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

Gets a segment by the specified index. 

 

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