private void method_2(Class374 modelBuilder, DxfPolyline3D polyline, Class285 entityBuilder) { if (entityBuilder == null) { return; } Class301 class301 = entityBuilder as Class301; if (class301 == null) { this.method_4(modelBuilder, (DxfPolyline3DBase)polyline, entityBuilder); } else { DxfVertex3D handledObject = (DxfVertex3D)class301.HandledObject; polyline.Vertices.Add(handledObject); } }
public void Visit(DxfPolyline3D polyline) { this.method_0((DxfEntity)polyline); this.method_2(polyline.Vertices.Count); }
public void Visit(DxfPolyline3D polyline) { this.bool_0 = true; }
/// <summary> /// Visits the specified entity. /// See the <see cref="IEntityVisitor"/> for more details. /// </summary> public override void Visit(DxfPolyline3D polyline) { HandleEntity(polyline); // don't care for vertices, as they ought to have the same layer }
public override void ResolveReferences(Class374 modelBuilder) { base.ResolveReferences(modelBuilder); DxfPolyline3DBase entity = (DxfPolyline3DBase)this.Entity; DxfPolyline3DSpline spline = entity as DxfPolyline3DSpline; if (spline != null) { if (this.ulong_6 != 0UL) { for (Class285 entityBuilder = modelBuilder.method_6(this.ulong_6); entityBuilder != null; entityBuilder = modelBuilder.method_7(entityBuilder)) { this.method_3(modelBuilder, spline, entityBuilder); if ((long)entityBuilder.HandledObject.Handle == (long)this.ulong_7) { break; } } } else if (this.list_1 != null) { for (int index = 0; index < this.list_1.Count; ++index) { ulong handle = this.list_1[index]; this.method_3(modelBuilder, spline, modelBuilder.method_6(handle)); } } } else { DxfPolyline3D polyline = entity as DxfPolyline3D; if (polyline != null) { if (this.ulong_6 != 0UL) { for (Class285 entityBuilder = modelBuilder.method_6(this.ulong_6); entityBuilder != null; entityBuilder = modelBuilder.method_7(entityBuilder)) { this.method_2(modelBuilder, polyline, entityBuilder); if ((long)entityBuilder.HandledObject.Handle == (long)this.ulong_7) { break; } } } else if (this.list_1 != null) { for (int index = 0; index < this.list_1.Count; ++index) { ulong handle = this.list_1[index]; this.method_2(modelBuilder, polyline, modelBuilder.method_6(handle)); } } } } if (this.ulong_8 == 0UL) { return; } DxfSequenceEnd dxfSequenceEnd = modelBuilder.method_4 <DxfSequenceEnd>(this.ulong_8); if (dxfSequenceEnd == null) { return; } entity.SeqEnd = dxfSequenceEnd; }