Table of Contents

Method InsertVertexAt

Namespace
GeometryHelper.Dxf
Assembly
GeometryHelper.dll

InsertVertexAt(DxfPolylineVertex3d, DxfPolylineVertex3d)

Puts a vertex made in code after a vertex of the polyline, as AutoCAD's InsertVertexAt; before the first where the vertex given is null.

public void InsertVertexAt(DxfPolylineVertex3d indexVertex, DxfPolylineVertex3d newVertex)

Parameters

indexVertex DxfPolylineVertex3d

The vertex of this polyline the new one follows; null to put it first.

newVertex DxfPolylineVertex3d

The vertex, in no polyline.

Exceptions

ArgumentNullException

Thrown when the new vertex is null.

ArgumentException

Thrown when the vertex it is to follow is not of this polyline.

InvalidOperationException

Thrown when the new vertex is of a polyline already, or the polyline is erased.