Ejemplo n.º 1
0
        public GeometryListSectionData(SectionHeader header, FramedStream stream)
        {
            DataSectionData data = (DataSectionData) new Section(stream).Data;

            GeometryCount = BitConverter.ToUInt32(data.Value, 0);
            Geometry      = new GeometrySectionData[GeometryCount];

            for (int i = 0; i < GeometryCount; ++i)
            {
                Geometry[i] = (GeometrySectionData) new Section(stream).Data;
            }
        }
Ejemplo n.º 2
0
        public ClumpSectionData(SectionHeader header, FramedStream stream)
        {
            DataSectionData dat = (DataSectionData) new Section(stream).Data;

            if (dat == null)
            {
                return;
            }

            ObjectCount = BitConverter.ToUInt32(dat.Value, 0);
            var frameList = new Section(stream);

            GeometryList = (GeometryListSectionData) new Section(stream).Data;
        }