Method ToGeoPolyline3
- Namespace
- GeometryHelper.Dxf
- Assembly
- GeometryHelper.dll
ToGeoPolyline3()
Gets the polyline as a chain of straight segments in the world, of its vertices as DxfReader reads them: in the plane of its normal at its elevation (its group 30, or the first vertex's height where it gives none), the polyline (0, 0), (12, 0), (12, 8) at the elevation 5 the GeoPolyline3 through (0, 0, 5), (12, 0, 5) and (12, 8, 5); closed, the chain runs on back to its first vertex. A polyline fitted with a curve is read through all its vertices, those the fitting added among them, with their bulges; one fitted with a spline through the vertices of the spline drawn (flag 8), its frame (flag 16) left out. A vertex within the point tolerance of the one before it is left out. A polyline with an arc is refused, its arcs not cut into chords here: ToGeoPolylineArc3() gives it exactly. Its widths are no part of the shape.
public GeoPolyline3 ToGeoPolyline3()
Returns
- GeoPolyline3
The chain, in world coordinates.
Exceptions
- InvalidOperationException
Thrown when the polyline has an arc, has fewer than two vertices apart, a number of its record is not finite, or it is erased.