Method SetMeshPointMaps
- Namespace
- GeometryHelper.Dxf
- Assembly
- GeometryHelper.dll
SetMeshPointMaps(IEnumerable<GeoPoint2>, IEnumerable<GeoPoint2>)
Gives the mesh its points, as AutoCAD's SetMeshPointMaps: each point of the drawing with the point at its place
among those it is taken to, in place of the points it had, the faces of the mesh kept as they are; the points it has
change nothing.
public void SetMeshPointMaps(IEnumerable<GeoPoint2> sourcePts, IEnumerable<GeoPoint2> destPts)
Parameters
sourcePtsIEnumerable<GeoPoint2>The points of the drawing.
destPtsIEnumerable<GeoPoint2>The points of the coordinate system they are taken to, one for each.
Exceptions
- ArgumentNullException
Thrown when either list is null.
- ArgumentException
Thrown when the lists are not of one length, or a point is not finite.
- InvalidOperationException
Thrown when the GEODATA is erased, or is of version 1.