protected LasPointLong(byte bitsField, ClassificationType classification, ushort intensity, ushort pointSourceId, sbyte scanAngleRank, byte userData, int x, int y, int z) : base(classification, intensity, pointSourceId, x, y, z) { _bitsField = new BitsField(bitsField); _scanAngleRank = scanAngleRank; _userData = userData; }
protected LasPointLong(byte[] rawBytes, int startPosition) : base(rawBytes, startPosition) { var position = startPosition; position += 3 * sizeof(int) + sizeof(ushort); _bitsField = new BitsField(rawBytes[position]); position += 1; _classificationSynthetic = BitFromByte(rawBytes[position], 5); _classificationKeyPoint = BitFromByte(rawBytes[position], 6); _classificationWithheld = BitFromByte(rawBytes[position], 7); position += 1; _scanAngleRank = (sbyte)rawBytes[position]; position += 1; _userData = rawBytes[position]; }