Exemple #1
0
 public GCCellRefArray()
 {
     cell_ref = null;
     // Tag layer and datatype to allow this element to be filtered out from LD and geo lists.
     layer_nr = -1;
     datatype_nr = -1;
     trans = new GCStrans();
     trans.reset();
 }
Exemple #2
0
 private void pGCTxt(int l, int d, GeoLibPoint p, string s)
 {
     name         = s;
     point        = p;
     layer_nr     = l;
     datatype_nr  = d;
     trans        = new GCStrans();
     presentation = 0;
     width        = 10;
 }
Exemple #3
0
 private void pGCCellref()
 {
     cell_ref = null;
     // Tag layer and datatype to allow this element to be filtered out from LD and geo lists.
     layer_nr = -1;
     datatype_nr = -1;
     point = new GeoLibPoint(0, 0);
     trans = new GCStrans();
     trans.reset();
 }
Exemple #4
0
 public GCCellRefArray(GCCell c, GeoLibPoint[] array, int xCount, int yCount)
 {
     cell_ref = c;
     point = array[0];
     pitch = new GeoLibPoint((array[1].X - point.X) / xCount,  (array[2].Y - point.Y) / yCount);
     count_x = xCount;
     count_y = yCount;
     // Tag layer and datatype to allow this element to be filtered out from LD and geo lists.
     layer_nr = -1;
     datatype_nr = -1;
     trans = new GCStrans();
     trans.reset();
 }
Exemple #5
0
 public GCCellRefArray(GCCell c, GeoLibPoint pos1, GeoLibPoint pos2, int xCount, int yCount)
 {
     cell_ref = c;
     point = pos1;
     GeoLibPoint p = new(pos2.X - pos1.X, pos2.Y - pos1.Y);
     pitch = new GeoLibPoint(p.X, p.Y);
     count_x = xCount;
     count_y = yCount;
     // Tag layer and datatype to allow this element to be filtered out from LD and geo lists.
     layer_nr = -1;
     datatype_nr = -1;
     trans = new GCStrans();
     trans.reset();
 }
Exemple #6
0
 private void pGCTxt()
 {
     trans = new GCStrans();
 }