Class PolyLineConvert
- Namespace
- GeometryHelper.TeklaConvert
- Assembly
- GeometryHelper.TeklaConvert.dll
Provides extension methods to convert polylines between Tekla Structures and GeometryHelper.
public static class PolyLineConvert
- Inheritance
-
PolyLineConvert
- Inherited Members
Remarks
A Tekla PolyLine is a run of points and nothing more, so it converts to a
GeoPolyline3 as it stands. Where those points are the set-out of something that bends —
a reinforcing bar, most of all — ToGeoPolylineArc3(PolyLine, IList<double>) puts the
arcs in, because the thing itself is the polyline with a tangent arc at every bend and is shorter than
its set-out.
Methods
- ToGeoPolyline2(PolyLine)
Converts a Tekla polyline to a GeometryHelper 2D chain, dropping the Z coordinate.
- ToGeoPolyline3(PolyLine)
Converts a Tekla polyline to a GeometryHelper chain.
- ToGeoPolylineArc3(PolyLine, IList<double>)
Converts a Tekla polyline to a chain that may curve, bending it at each turn.
- ToGeoPolylineArc3(PolyLine, IList<double>, Tolerance)
Converts a Tekla polyline to a chain that may curve, bending it at each turn, within a tolerance.
- ToTeklaPolyLine(GeoPolyline3)
Converts a GeometryHelper chain to a Tekla polyline.
- ToTeklaPolyLine(GeoPolylineArc3, double)
Converts a chain that may curve to a Tekla polyline, following its arcs to a given accuracy.