Method ToPolyline
- Namespace
- GeometryHelper.Geometry
- Assembly
- GeometryHelper.dll
ToPolyline()
Approximates the arc as a chain, cut finely enough that it strays no further from the arc than the automatic share of its radius.
public GeoPolyline2 ToPolyline()
Returns
- GeoPolyline2
A chain from the start of the arc to its end.
ToPolyline(int)
Approximates the arc as a chain with a given number of pieces.
public GeoPolyline2 ToPolyline(int segmentCount)
Parameters
segmentCountintHow many pieces the chain should have; at least one.
Returns
- GeoPolyline2
A chain from the start of the arc to its end.
Exceptions
- ArgumentOutOfRangeException
Thrown when fewer than one piece is asked for.