public LAZStreamReader(string path, LASHeader header, LASVLR lazEncodedVLR) { m_path = path; m_header = header; m_lazEncodedVLR = lazEncodedVLR; m_laz = new LAZInterop(m_path, m_header.OffsetToPointData, m_lazEncodedVLR.Data); }
public LAZFile(string path) : base(path) { m_lazEncodedVLR = m_vlrs.FirstOrDefault(vlr => vlr.RecordIdentifier.Equals(c_record)); if (m_lazEncodedVLR == null) { throw new Exception("no laz record"); } }
static LAZFile() { c_record = new LASRecordIdentifier("laszip encoded", 22204); LASVLR.AddInterestingRecord(c_record); }