44 lines
779 B
C#
44 lines
779 B
C#
|
|
using System.Collections.Generic;
|
||
|
|
|
||
|
|
namespace LP;
|
||
|
|
|
||
|
|
internal class MyGrid
|
||
|
|
{
|
||
|
|
public int indexGrid;
|
||
|
|
|
||
|
|
public double areaGrid;
|
||
|
|
|
||
|
|
public List<int> mList_indexGanTa_inGrid = null;
|
||
|
|
|
||
|
|
public int mCountLuoLeiGrid;
|
||
|
|
|
||
|
|
public double mDSMD_Grid;
|
||
|
|
|
||
|
|
public int mIndexGFD_Grid;
|
||
|
|
|
||
|
|
public double mLineLength_Grid;
|
||
|
|
|
||
|
|
public double mAreaTheory_Grid;
|
||
|
|
|
||
|
|
public MyGrid()
|
||
|
|
{
|
||
|
|
indexGrid = 0;
|
||
|
|
areaGrid = 0.0;
|
||
|
|
mCountLuoLeiGrid = 0;
|
||
|
|
if (mList_indexGanTa_inGrid == null)
|
||
|
|
{
|
||
|
|
mList_indexGanTa_inGrid = new List<int>();
|
||
|
|
}
|
||
|
|
mList_indexGanTa_inGrid.Clear();
|
||
|
|
mDSMD_Grid = 0.0;
|
||
|
|
mIndexGFD_Grid = 0;
|
||
|
|
mLineLength_Grid = 0.0;
|
||
|
|
mAreaTheory_Grid = 0.0;
|
||
|
|
}
|
||
|
|
|
||
|
|
public void add_List_inGrid(int indexOfGanTa)
|
||
|
|
{
|
||
|
|
mList_indexGanTa_inGrid.Add(indexOfGanTa);
|
||
|
|
}
|
||
|
|
}
|