public void Load(BlobCollection blobs) { if (loaded) { return; } polygonSource.Load(blobs); graph = polygonSource.GetGraph(); loaded = true; }
public void Load(BlobCollection blobs) { if (loaded) { return; } polygonSource1.Load(blobs); polygonSource2.Load(blobs); graph = polygonSource1.GetGraph().Subtract(polygonSource2.GetGraph(), blobs); if (Constants.DEBUG_MODE) { graph.CheckValid(); } loaded = true; }