AcDb2dPolyline::appendVertex (AcDb2dVertex*) |
This function appends the AcDb2dVertex object pointed to by pNewVert to the vertex list of the polyline and establishes the polyline as the vertex's owner. In addition, if the polyline is resident within an AcDbDatabase, the vertex will be added to the same database. If the polyline is not database-resident, then when it is added to a database, the vertex will be added as well.If the polyline is database-resident, then the appended vertex must be explicitly closed by the calling application after the appendVertex() call returns. If the polyline is not database-resident, then there is no need to... more |
AcDb2dPolyline::appendVertex (AcDbObjectId&, AcDb2dVertex*) |
This function appends the AcDb2dVertex object pointed to by pNewVert to the vertex list of the polyline, establishes the polyline as the vertex's owner, and adds the vertex the AcDbDatabase that contains the polyline (the polyline must be database-resident for this function to succeed).The appended vertex must be explicitly closed by the calling application after the appendVertex() call returns.Returns Acad::eOk if successful. If the polyline is not yet database-resident, then Acad::eNoDatabase will be returned. |