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
pointPoint2dThe AutoCAD 2D point to convert.
Returns
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
pointsIEnumerable<Point2d>The sequence of AutoCAD 2D points to convert.
Returns
ToGeoPoint2(Point3d)
Converts a AutoCAD 3D point to a GeometryHelper 2D point (discarding the Z coordinate).
public static GeoPoint2 ToGeoPoint2(this Point3d point)
Parameters
pointPoint3dThe AutoCAD 3D point to convert.
Returns
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
pointsIEnumerable<Point3d>The sequence of AutoCAD 3D points to convert.