protected LasPoint(byte[] rawBytes, int startPosition) { var position = startPosition; //_x = BitConverter.ToInt32(rawBytes, position); _x = MyBitConverter.ToInt32(rawBytes, position); position += sizeof(int); //_y = BitConverter.ToInt32(rawBytes, position); _y = MyBitConverter.ToInt32(rawBytes, position); position += sizeof(int); //_z = BitConverter.ToInt32(rawBytes, position); _z = MyBitConverter.ToInt32(rawBytes, position); position += sizeof(int); _intensity = (ushort)MyBitConverter.ToInt16(rawBytes, position); position += sizeof(ushort) + 1; _classification = (byte)(rawBytes[position] & 0x1F); position += 3; _pointSourceId = (ushort)MyBitConverter.ToInt16(rawBytes, position); }