API Reference > OdDb Classes > OdDb2dPolyline Class
OdDb2dPolyline Class
OdDb2dPolylineOdDb2dPolylineOdDb2dPolylineOdDb2dPolyline
Syntax
C++
class OdDb2dPolyline : public OdDbCurve;

Db2dPolyline.h

This class represents 2D Polyline entities in an OdDbDatabase instance. 

 

 
Name 
Description 
 
 
 
Name 
Description 
 
Appends the specified Vertex entity to this Polyline entity, and makes this Polyline entity its owner. 
 
Convert 2D-Polyline to the specified type.
 
 
Convert polyline to a smooth curve consisting of pairs of arcs in each pair of vertices.
 
 
Returns the default segment end width for this Polyline entity (DXF 41). 
 
Returns the default segment start width for this Polyline entity (DXF 40). 
 
Reads the .dwg file data of this object.
 
 
 
 
Writes the .dwg file data of this object.
 
 
Reads the DXF format data of this object from the specified filer.
 
 
Reads the DXF data of this object.
 
 
Reads the DXF R12 format data of this object.
 
 
Writes the DXF format data of this object to the specified filer.
 
 
Writes the DXF data of this object.
 
 
Writes the DXF data of this object.
 
 
Returns the elevation of this entity in the OCS (DXF 30). 
 
Explodes this entity into a set of simpler entities.
 
 
 
 
Returns the area of this Curve object.
 
 
Returns the distance along this Curve object from its start point to the point specified by param.
 
 
Returns the entity coordinate system matrix. 
 
Returns the parameter corresponding to the end point of this Curve object.
 
 
Returns the WCS end point of this Curve object.
 
 
Returns the first derivative of this Curve object at the specified WCS point.
 
 
Returns an OdGeCurve3d that is geometrically identical to this OdDbCurve.  
 
Returns the parameter corresponding to the point a specified distance along this Curve object from its start point.
 
 
Returns the parameter corresponding to the specified WCS point on this Curve object.
 
 
Returns the plane that contains this entity.
 
 
Returns the WCS point on this Curve object corresponding to the specified parameter.
 
 
Returns the second derivative of this Curve object at the specified point.
 
 
Returns the parameter corresponding to the start point of this Curve object.
 
 
Returns the WCS start point of this Curve object.
 
 
This is the overview for the insertVertexAt method overload. 
 
Returns true if 2D-Polyline is closed or false otherwise. 
 
Returns true if and only if linetype generation is on for this Polyline entity (DXF 70, bit 0x80). 
 
Returns true if and only if this Curve object is periodic. 
 
Returns true if and only if this entity is planar. 
 
Sets this Polyline entity closed (DXF 70, bit 0x01=1). 
 
Sets this Polyline entity open (DXF 70, bit 0x01=0). 
 
Returns the WCS normal to the plane of this entity (DXF 210). 
 
Opens the OdDbSequenceEnd entity for this Polyline entity.
 
 
Opens a vertex owned by this Polyline entity.
 
 
Returns the type of this Polyline entity. 
 
Reverses the Polyline so that the first vertex become the last vertex of a Polyline and the last vertex become the first vertex.
 
 
Sets the default segment end width for this Polyline entity (DXF 41).  
 
Sets the default segment start width for this Polyline entity (DXF 40).  
 
Sets the elevation of this entity in the OCS (DXF 30).
 
 
Takes an OdGeCurve3d and sets this OdDbCurve to be geometrically identical to the OdGeCurve3d.  
 
Sets the linetype generation off for this Polyline entity (DXF 70, bit 0x80). 
 
Sets the linetype generation on for this Polyline entity (DXF 70, bit 0x80). 
 
Sets the WCS normal to the plane of this entity (DXF 210).  
 
Sets the type of this Polyline entity.
 
 
Sets the thickness of this entity (DXF 39).  
 
This is the overview for the splineFit method overload. 
 
Removes all curve and spline fitting from this Polyline entity. 
 
Called as the first operation as this object is being closed, for database -resident objects only. 
 
 
 
overridables 
 
 
 
 
 
 
 
 
 
 
 
This is the overview for the TD_USING method overload. 
 
Returns the thickness of this entity (DXF 39). 
 
Returns an Iterator that can be used to traverse the vertices owned by this Polyline entity. 
 
Returns the WCS position of the specified Vertex entity.
 
Copyright © 2002–2021. Open Design Alliance. All rights reserved.