Table of Contents

Method ToGeoPoint2

Namespace
GeometryHelper.CadConvert
Assembly
GeometryHelper.CadConvert.dll

ToGeoPoint2(Point2d)

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

public static GeoPoint2 ToGeoPoint2(this Point2d point)

Parameters

point Point2d

The AutoCAD 2D point to convert.

Returns

GeoPoint2

The converted GeoPoint2.

ToGeoPoint2(IEnumerable<Point2d>)

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

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

Parameters

points IEnumerable<Point2d>

The sequence of AutoCAD 2D points to convert.

Returns

List<GeoPoint2>

A list of converted GeoPoint2.

ToGeoPoint2(Point3d)

Converts a AutoCAD 3D point to a GeometryHelper 2D point (discarding the Z coordinate).

public static GeoPoint2 ToGeoPoint2(this Point3d point)

Parameters

point Point3d

The AutoCAD 3D point to convert.

Returns

GeoPoint2

The converted GeoPoint2.

ToGeoPoint2(IEnumerable<Point3d>)

Converts a sequence of AutoCAD 3D points to a list of GeometryHelper 2D points (discarding their Z coordinates).

public static List<GeoPoint2> ToGeoPoint2(this IEnumerable<Point3d> points)

Parameters

points IEnumerable<Point3d>

The sequence of AutoCAD 3D points to convert.

Returns

List<GeoPoint2>

A list of converted GeoPoint2.