Table of Contents

Method AddMeshPointMap

Namespace
GeometryHelper.Dxf
Assembly
GeometryHelper.dll

AddMeshPointMap(int, GeoPoint2, GeoPoint2)

Puts a point in the mesh, as AutoCAD's AddMeshPointMap: before the point of the index, or last for the index NumMeshPoints; the count (93) written anew, the faces of the mesh kept as they are.

public void AddMeshPointMap(int index, GeoPoint2 sourcePt, GeoPoint2 destPt)

Parameters

index int

Where the point goes, from nought to NumMeshPoints.

sourcePt GeoPoint2

The point of the drawing.

destPt GeoPoint2

The point of the coordinate system it is taken to.

Exceptions

ArgumentOutOfRangeException

Thrown when the index is below nought or above NumMeshPoints.

ArgumentException

Thrown when a point is not finite.

InvalidOperationException

Thrown when the GEODATA is erased, or is of version 1.