API Reference > OdDb Classes > OdDbPolyline Class > OdDbPolyline Methods > getLineSegAt Method > OdDbPolyline::getLineSegAt Method (unsigned int, OdGeLineSeg2d&)
OdDbPolyline::getLineSegAt Method (unsigned int, OdGeLineSeg2d&)
Syntax
C++
void getLineSegAt(unsigned int segmentIndex, OdGeLineSeg2d& line2d) const;
Parameters 
Description 
unsigned int segmentIndex 
[in] Segment index.  
OdGeLineSeg2d& line2d 
[out] Receives the OCS line segment. 

Returns the specified OCS line segment of this Polyline entity.

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