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:
the polyline (0, 0), (10, 0), (10, 10) at the elevation 5 is the GeoPolyline3 through (0, 0, 5),
(10, 0, 5) and (10, 10, 5); closed, the chain runs on back to (0, 0, 5), as the AutoCAD bridge's
ToGeoPolylineArc2 reads a closed one. A vertex within the point tolerance of the one before it is left out with
the segment between them. 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.