コード例 #1
0
ファイル: LASHeader.cs プロジェクト: topcomma/libLAS-1.6
        /// <summary>
        /// Adds a variable length record instance to the header.
        /// </summary>
        /// <param name="variableLengthRecord">variable Length record instance to add</param>
        public void AddVariableLengthRecord(LASVariableLengthRecord variableLengthRecord)
        {
            LASError error = CAPI.LASHeader_AddVLR(hHeader, variableLengthRecord.GetPointer());

            if ((Int32)error != 0)
            {
                LASException e = new LASException("Exception in Header AddVariableLengthRecord.");
                throw e;
            }
        }