public IList <DxfEntity> GetEntitiesInDrawingOrder(bool useSortEntsTable) { IList <DxfEntity> entities = (IList <DxfEntity>) this.Entities; if (useSortEntsTable) { DxfSortEntsTable sortEntsTable = this.SortEntsTable; if (sortEntsTable != null) { entities = sortEntsTable.GetSortedEntities(entities); } } return(entities); }
public override void ResolveReferences(Class374 modelBuilder) { base.ResolveReferences(modelBuilder); DxfSortEntsTable handledObject = (DxfSortEntsTable)this.HandledObject; if (this.ulong_2 != 0UL) { DxfHandledObject dxfHandledObject = modelBuilder.method_3(this.ulong_2); DxfBlock dxfBlock = dxfHandledObject as DxfBlock; if (dxfBlock != null) { handledObject.OwnerBlock = dxfBlock; } else if (dxfHandledObject != null) { this.dxfMessageCollection_0.Add(new DxfMessage(DxfStatus.WrongType, Severity.Warning, "ExpectedType", (object)typeof(DxfBlock)) { Parameters = { { "ObjectType", (object)dxfHandledObject.GetType() }, { "Object", (object)dxfHandledObject } } }); } else { this.dxfMessageCollection_0.Add(new DxfMessage(DxfStatus.UnresolvedReference, Severity.Warning, "Handle", (object)this.ulong_2)); } } foreach (Pair <ulong> pair in this.list_1) { DxfHandledObject dxfHandledObject = modelBuilder.method_3(pair.First); DxfEntity entity = dxfHandledObject as DxfEntity; if (entity != null) { handledObject.method_9(entity, pair.Second); } else if (dxfHandledObject != null) { this.dxfMessageCollection_0.Add(new DxfMessage(DxfStatus.WrongType, Severity.Warning, "ExpectedType", (object)typeof(DxfEntity)) { Parameters = { { "ObjectType", (object)dxfHandledObject.GetType() }, { "Object", (object)dxfHandledObject } } }); } else { this.dxfMessageCollection_0.Add(new DxfMessage(DxfStatus.UnresolvedReference, Severity.Warning, "Handle", (object)this.ulong_2)); } } }
public Class279(DxfSortEntsTable obj, DxfMessageCollection messages) : base((DxfObject)obj) { this.dxfMessageCollection_0 = messages; }
public void Visit(DxfSortEntsTable sortEntsTable) { }
public void Visit(DxfSortEntsTable sortEntsTable) { this.bool_0 = true; }