Пример #1
0
 private void _read()
 {
     _boundingBox    = new BoundingBoxXY(m_io, this, m_root);
     _numberOfParts  = m_io.ReadS4le();
     _numberOfPoints = m_io.ReadS4le();
     _parts          = new List <int>((int)(NumberOfParts));
     for (var i = 0; i < NumberOfParts; i++)
     {
         _parts.Add(m_io.ReadS4le());
     }
     _points = new List <Point>((int)(NumberOfPoints));
     for (var i = 0; i < NumberOfPoints; i++)
     {
         _points.Add(new Point(m_io, this, m_root));
     }
     _zRange  = new BoundsMinMax(m_io, this, m_root);
     _zValues = new List <double>((int)(NumberOfPoints));
     for (var i = 0; i < NumberOfPoints; i++)
     {
         _zValues.Add(m_io.ReadF8le());
     }
     _mRange  = new BoundsMinMax(m_io, this, m_root);
     _mValues = new List <double>((int)(NumberOfPoints));
     for (var i = 0; i < NumberOfPoints; i++)
     {
         _mValues.Add(m_io.ReadF8le());
     }
 }
Пример #2
0
 private void _read()
 {
     _x = new BoundsMinMax(m_io, this, m_root);
     _y = new BoundsMinMax(m_io, this, m_root);
     _z = new BoundsMinMax(m_io, this, m_root);
     _m = new BoundsMinMax(m_io, this, m_root);
 }