Method SetVertexAt
- Namespace
- GeometryHelper.Dxf
- Assembly
- GeometryHelper.dll
SetVertexAt(short, short)
Sets the number of a corner among the mesh's points, as AutoCAD's SetVertexAt: whether its edge is drawn is kept.
public void SetVertexAt(short index, short vertexIndex)
Parameters
indexshortThe corner, from 0 to 3.
vertexIndexshortThe number, from 1; nought for no corner, which takes the group out.
Exceptions
- ArgumentOutOfRangeException
Thrown when the index is not from 0 to 3, or the number is below nought.
- InvalidOperationException
Thrown when the face is erased.