Method ToGeoPolylineArc3
- Namespace
- GeometryHelper.TeklaConvert
- Assembly
- GeometryHelper.TeklaConvert.dll
ToGeoPolylineArc3(RebarGeometry)
Converts the geometry of a bar to a chain that may curve.
public static GeoPolylineArc3 ToGeoPolylineArc3(this RebarGeometry geometry)
Parameters
geometryRebarGeometry
Returns
ToGeoPolylineArc3(RebarGeometry, Tolerance)
Converts the geometry of a bar to a chain that may curve, within a tolerance.
public static GeoPolylineArc3 ToGeoPolylineArc3(this RebarGeometry geometry, Tolerance tolerance)
Parameters
geometryRebarGeometryThe geometry, as
Reinforcement.GetRebarGeometrieshands it back.toleranceToleranceThe tolerance; Tekla coordinates run large, so this is worth giving.
Returns
- GeoPolylineArc3
The bar: straight runs with a tangent arc at every bend.
Exceptions
- ArgumentNullException
Thrown when
geometryis null.- ArgumentException
Thrown when the geometry holds no shape, or fewer than two distinct points.