public void Compare() { if (RESULT_EXIST_A == false) { return; } if (RESULT_EXIST_B == false) { return; } if (RESULT_EXIST_BOTH == false) { return; } if (BBox1.Equals(BBox2, false) == true) { RESULT_LOCATION = true; } if (Node1.NodeType == VIZCore3D.NET.Data.NodeTypes.PART) { if (MeshCount1 == MeshCount2) { RESULT_SHAPE = true; } } }
public string[] GetListViewItem() { string[] items = new string[] { RESULT_EXIST_A == true ? Node1.NodeName : String.Empty , RESULT_EXIST_B == true ? Node2.NodeName : String.Empty , RESULT_EXIST_BOTH == true ? String.Empty : (RESULT_EXIST_A == true ? "모델 삭제" : "모델 추가") , RESULT_EXIST_BOTH == false ? String.Empty : (RESULT_LOCATION == true ? String.Empty : "위치 변경") , RESULT_EXIST_BOTH == false ? String.Empty : (Node1.NodeType == VIZCore3D.NET.Data.NodeTypes.PART ? (RESULT_SHAPE == true ? String.Empty : "형상 변경") : String.Empty) , MeshCount1.ToString() , MeshCount2.ToString() , BBox1 != null?BBox1.ToString() : String.Empty , BBox2 != null?BBox2.ToString() : String.Empty }; return(items); }