示例#1
0
        //Set values of X, Y and Z coordinates offset.
        /// <summary>
        /// Set values of X, Y and Z coordinates offset.
        /// </summary>
        /// <param name="x">X coordinate offset.</param>
        /// <param name="y">Y coordinate offset.</param>
        /// <param name="z">Z coordinate offset.</param>
        public void SetOffset(double x, double y, double z)
        {
            LASError error = CAPI.LASHeader_SetOffset(hHeader, x, y, z);

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