Repository navigation
v0.1.0
First release.
Added
- Core types
PclDocument,PclScan,PclPoint,PclVector3,PclBounds,PclColor,PclTransformandPclReadOptions;PclReadOptions.MaxPointsandSubsampleStepare validated, andMaxPointsof 0 yields no points. - Automatic format detection in
PclFile.DetectKindandPclFile.Open, from the signature, the extension or the folder layout. A file with a recognised extension and the wrong content isPclFileKind.Unknown, except.c3dband.c3ptx, which are detected by extension alone and fail when opened. - Readers for ASTM E57 (a defined subset, with page checksum verification and pose rotation), ReCap scans (
.rcs) and projects (.rcp), Leica containers (.lgsx,.lgs, with Zstandard decompression of point blocks by a decoder of its own; all points of a container form one scan), FARO scans (.flsand scan folders), PinPoint projects (.srf,.smf, with point data files that store named channels or Snappy-compressed channels in numbered sections) and EdgeWise databases and clusters (.c3db,.c3ptx). - Channel availability (
HasColors,HasIntensities,HasNormals) follows what the file contains, except for ReCap scans, where it is fixed by the supported layout, and for the scans of a ReCap project, where it depends only on whether the.rcsfile was found. Colour and intensity that a file does not store are null, and a project manifest that states no point count reports 0, instead of invented values. - Reading of untrusted files: declared sizes and counts are checked against the file and against fixed limits, XML is read without DTDs, decompressed sizes are capped before allocation, FARO planes are inflated in chunks, and malformed or truncated input fails with
InvalidDataExceptionand unsupported layouts withNotSupportedException. The limits are listed in the README. SafePath, which resolves file names stored inside ReCap, PinPoint and EdgeWise project files only inside the project folder. The check is lexical; symbolic links are not resolved.- Exporters for ASPRS LAS 1.2 point format 2, ASCII XYZ, PTS and JSON, with overloads that report points skipped because a coordinate was NaN or infinite. LAS and PTS read the source twice instead of buffering the points. XYZ and PTS output is culture independent and ends lines with
\n. JSON writes the file name, not its path. - The command line tool
pcliowithinfo,scans,pointsandexport. Exit codes are 0 success, 1 command line, 2 input unreadable, 3 corrupt or unsupported, 4 unexpected, with oneerror:line on standard error. Options are parsed strictly.exportrefuses to overwrite an existing file without--force, refuses to write to the input or into an input folder (compared after following links and junctions), and writes through a temporary file.points --format xyz|ptsprints the same lines as the exporters. Files written byexportare UTF-8 without a BOM. - A test suite with synthetic fixtures; tests that need private scan files are skipped when the files are not available.
- Documentation in
docs/(getting started, public API, dependencies, private test fixtures),CONTRIBUTING.md,CODE_OF_CONDUCT.md, a security policy with private vulnerability reporting, issue and pull request templates, CI, documentation and release workflows,docfx.jsonandtools/pack-release.ps1. - XML documentation on every public type and member.
- No runtime dependencies on other packages: the Zstandard and Snappy decoders are part of the library.
Microsoft.SourceLink.GitHubis a build-time package only.