Table of Contents

Method ToAcadPoint2

Namespace
GeometryHelper.CadConvert
Assembly
GeometryHelper.CadConvert.dll

ToAcadPoint2(GeoPoint2)

Converts a GeometryHelper 2D point to a AutoCAD 2D point.

public static Point2d ToAcadPoint2(this GeoPoint2 point)

Parameters

point GeoPoint2

The GeometryHelper 2D point to convert.

Returns

Point2d

The converted AutoCAD Autodesk.AutoCAD.Geometry.Point2d.

ToAcadPoint2(IEnumerable<GeoPoint2>)

Converts a sequence of GeometryHelper 2D points to a list of AutoCAD 2D points.

public static List<Point2d> ToAcadPoint2(this IEnumerable<GeoPoint2> points)

Parameters

points IEnumerable<GeoPoint2>

The sequence of GeometryHelper 2D points to convert.

Returns

List<Point2d>

A list of converted AutoCAD Autodesk.AutoCAD.Geometry.Point2d.