Method Erase
- Namespace
- GeometryHelper.Dxf
- Assembly
- GeometryHelper.dll
Erase()
Takes the vertex out of its polyline, as AutoCAD's Erase does, every other vertex keeping its handle. A
DxfPolyline2d or a DxfPolyline3d keeps two vertices at least, as AutoCAD keeps one on save
and audit: a vertex of one with two is not taken out. A point or face of a DxfPolyFaceMesh is taken out
with the mesh's counts (groups 71 and 72) one less and the faces' numbers of the later points one less; a point a face
names is kept.
public override void Erase()
Exceptions
- InvalidOperationException
Thrown when the vertex is of a polyline of two vertices, is a point of a mesh a face names, is in no file, or is erased already.