private void method_1(WW.Math.Geometry.Polyline3D polyline) { List <WW.Math.Geometry.Polyline3D> result = new List <WW.Math.Geometry.Polyline3D>(); DxfUtil.smethod_22(this.graphicsConfig_0, (IList <WW.Math.Geometry.Polyline3D>)result, polyline, this.matrix4D_0, this.dxfLineType_0, this.double_0, this.bool_0); this.vmethod_0(result); }
public static IPrimitive CreatePrimitive(WW.Math.Geometry.Polyline3D polyline) { if (polyline == null) { throw new ArgumentNullException(); } if (polyline.Count > 2) { return((IPrimitive) new Polyline3D(polyline)); } if (polyline.Count == 1) { return((IPrimitive) new Point(polyline[0])); } return((IPrimitive) new Segment(polyline[0], polyline[1])); }
private Polyline3D(WW.Math.Geometry.Polyline3D polyline) { this.ilist_0 = (IList <Point3D>)polyline; this.bool_0 = polyline.Closed; }