public GraphicElement1 method_0(Matrix4D toPwcsTransform) { GraphicElement1 graphicElement1 = (GraphicElement1)null; foreach (Pair <Matrix4D, GraphicElement1> pair in this.list_0) { if (Matrix4D.AreApproxEqual(pair.First, toPwcsTransform)) { graphicElement1 = pair.Second; break; } } return(graphicElement1); }
public ProcessedGraphicElementBlock method_0( Matrix4D toPwcsTransform) { ProcessedGraphicElementBlock graphicElementBlock = (ProcessedGraphicElementBlock)null; foreach (Pair <Matrix4D, ProcessedGraphicElementBlock> pair in this.list_0) { if (Matrix4D.AreApproxEqual(pair.First, toPwcsTransform)) { graphicElementBlock = pair.Second; break; } } return(graphicElementBlock); }