Method ToGeoPolylineArc3
- Namespace
- GeometryHelper.TeklaConvert
- Assembly
- GeometryHelper.TeklaConvert.dll
ToGeoPolylineArc3(Polygon, IList<double>)
Converts a Tekla polygon to a chain that may curve, bending it at each turn.
public static GeoPolylineArc3 ToGeoPolylineArc3(this Polygon polygon, IList<double> bendingRadii)
Parameters
Returns
ToGeoPolylineArc3(Polygon, IList<double>, Tolerance)
Converts a Tekla polygon to a chain that may curve, bending it at each turn, within a tolerance.
public static GeoPolylineArc3 ToGeoPolylineArc3(this Polygon polygon, IList<double> bendingRadii, Tolerance tolerance)
Parameters
polygonPolygonThe Tekla polygon the thing is set out by.
bendingRadiiIList<double>A radius for each bend, in order, the first belonging to the first point that turns.
toleranceToleranceThe tolerance.
Returns
- GeoPolylineArc3
The chain: straight runs with a tangent arc at every bend that had room for one.
Exceptions
- ArgumentNullException
Thrown when
polygonis null.