API Reference > OdDb Classes > OdDb2dPolyline Class > OdDb2dPolyline Methods > OdDb2dPolyline::polyType Method
OdDb2dPolyline::polyType Method
Syntax
C++
OdDb::Poly2dType polyType() const;

Returns the type of this Polyline entity.

polyType() returns one of the following: 

 

Name 
Value 
Description 
OdDb::k2dSimplePoly 
Simple polyline. 
OdDb::k2dFitCurvePoly 
Curve fit (DXF 70, bit 0x04). 
OdDb::k2dQuadSplinePoly 
Quadratic B-spline fit (DXF 80, bit 0x08; DXF 75 == 5). 
OdDb::k2dCubicSplinePoly 
Cubic B-spline-fit (DXF 80, bit 0x08; DXF 75 == 6). 
Copyright © 2002–2020. Open Design Alliance. All rights reserved.