API Reference > OdDb Classes > OdDbPolyline Class > OdDbPolyline Methods > OdDbPolyline::segType Method
OdDbPolyline::segType Method
Syntax
C++
SegType segType(unsigned int segmentIndex) const;
Parameters 
Description 
unsigned int segmentIndex 
[in] Segment index. 

Returns one of the following: 

 

Name 
Description 
kLine 
Straight segment with length > 0.0 
kArc 
Arc segment with length > 0.0 
kCoincident 
Segment with length == 0.0 
kPoint 
Polyline with 1 vertex. 
kEmpty 
Polyline with 0 vertices. 

Returns the type of the specified segment of this Polyline entity. 

 

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