AcDb2dPolyline::insertVertexAt (AcDb2dVertex*, AcDb2dVertex*) |
This function inserts the AcDb2dVertex object pointed to by pNewVertex into the vertex list of the polyline just after the AcDb2dVertex object pointed to by pIndexVert 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.To insert a vertex at the beginning of the polyline, pass in a NULL for the pIndexVert argument.If the polyline is database-resident then the... more |
AcDb2dPolyline::insertVertexAt (AcDbObjectId&, AcDbObjectId&, AcDb2dVertex*) |
This function inserts the AcDb2dVertex object pointed to by pNewVertex into the vertex list of the polyline just after the AcDb2dVertex object with objectId indexVertId, establishes the polyline as the vertex's owner, and adds the vertex to the AcDbDatabase that contains the polyline (the polyline must be database-resident for this function to succeed).To insert a vertex at the beginning of the polyline, pass in AcDbObjectId::kNull for the indexVertId argument.The inserted vertex must be explicitly closed by the calling application after the insertVertexAt() call returns.Returns Acad::eOk if successful. If the polyline is not yet database-resident, then Acad::eNoDatabase... more |