API Reference > FacetModeler Namespace > Classes > Segment2D Class > Segment2D Methods > Segment2D::getLineSeg Method
Segment2D::getLineSeg Method
Syntax
C++
Result getLineSeg(OdGeLineSeg2d& rLine) const;
Parameters 
Description 
OdGeLineSeg2d& rLine 
[out] Resulting linear segment.  

eOk if segment is linear, or erWrongSegType otherwise.

Gets the line segment corresponding to this segment. 

 

Only works for line segments.

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