Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/shineiarakawa/llas
A simple, header-only, las-format file reader.
https://github.com/shineiarakawa/llas
cplusplus header-only las point-cloud reader
Last synced: 6 days ago
JSON representation
A simple, header-only, las-format file reader.
- Host: GitHub
- URL: https://github.com/shineiarakawa/llas
- Owner: ShineiArakawa
- Created: 2024-04-23T18:11:46.000Z (9 months ago)
- Default Branch: master
- Last Pushed: 2024-05-03T13:28:11.000Z (9 months ago)
- Last Synced: 2024-05-03T17:13:48.652Z (9 months ago)
- Topics: cplusplus, header-only, las, point-cloud, reader
- Language: C++
- Homepage:
- Size: 28.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Light LAS (LLAS)
A simple, header-only, las-format file reader.## Features
- Header-only
- Only used STL libraries
- Compatible with v1.2/v1.3/v1.4 LAS format (PointDataRecordFormat: 0 to 4)
- Read 33M points in 2 seconds## Usage
You only have to include `include/llas.hpp` file.## Example
```cpp
#include "llas.hpp"int main(int argc, char** argv) {
// Read .las file
const auto lasData = llas::read("sample.las");if (lasData != nullptr) {
// You can access to Public Header.
const auto systemIdentifier = lasData->publicHeader.systemIdentifier;
// You can easily get point coordinates as linear vector.
const auto pointCoords = data->getPointCoords();// You can easily get point colors as linear vector.
const auto pointColors = data->getPointColors();
}
}
```