public long GetLength() { long size = 0; size += XYRange.GetLength(); size += sizeof(int); size += Util.GetArraySize(Points); return(size); }
public long GetLength() { long size = 0; size += XYRange.GetLength(); size += sizeof(int); size += sizeof(int); size += Util.GetArraySize(Parts); size += Util.GetArraySize(PartsTypes); size += Util.GetArraySize(Points); size += ZRange.GetLength(); size += Util.GetArraySize(ZValues); size += MRange.GetLength(); size += Util.GetArraySize(MValues); return(size); }
public void XYRange_SingleSquare_TotalAreaEqualsOne() { var range = new XYRange(new XY(0, 0), new XY(0, 0)); Assert.AreEqual(1, range.Count()); }