Table of Contents

Method SetVertexAt

Namespace
GeometryHelper.Dxf
Assembly
GeometryHelper.dll

SetVertexAt(int, GeoPoint3)

Moves a vertex, as AutoCAD's SetVertexAt: its three groups written anew where a coordinate differs, the others kept.

public bool SetVertexAt(int index, GeoPoint3 pointValue)

Parameters

index int

The index of the vertex, from nought.

pointValue GeoPoint3

Where it is to be, in the world.

Returns

bool

True, as AutoCAD answers for a vertex moved.

Exceptions

ArgumentOutOfRangeException

Thrown when the leader has no vertex of the index.

ArgumentException

Thrown when a coordinate is not a finite number.

InvalidOperationException

Thrown when the leader is erased.