private void CreateLineSegments(CurveLoop curveLoop, IList <XYZ> currentSegments) { if (currentSegments.Count > 0) { IFCGeometryUtil.AppendPolyCurveToCurveLoop(curveLoop, currentSegments, null, Id, false); currentSegments.Clear(); } }