Method ToGeoPolylineArc3
- Namespace
- GeometryHelper.TeklaConvert
- Assembly
- GeometryHelper.TeklaConvert.dll
ToGeoPolylineArc3(PolyLine, IList<double>)
Converts a Tekla polyline to a chain that may curve, bending it at each turn.
public static GeoPolylineArc3 ToGeoPolylineArc3(this PolyLine shape, IList<double> bendingRadii)
Parameters
Returns
ToGeoPolylineArc3(PolyLine, IList<double>, Tolerance)
Converts a Tekla polyline to a chain that may curve, bending it at each turn, within a tolerance.
public static GeoPolylineArc3 ToGeoPolylineArc3(this PolyLine shape, IList<double> bendingRadii, Tolerance tolerance)
Parameters
shapePolyLineThe Tekla polyline the thing is set out by.
bendingRadiiIList<double>A radius for each bend, in order, the first belonging to the first point that turns; see ToGeoPolylineArc3(IEnumerable<Point>, IList<double>, Tolerance) for how the list is read.
toleranceToleranceThe tolerance; Tekla coordinates run large, so this is worth giving.
Returns
- GeoPolylineArc3
The chain: straight runs with a tangent arc at every bend that had room for one.
Exceptions
- ArgumentNullException
Thrown when
shapeis null.