Skip to main content

Crate axiolid_pointcloud

Crate axiolid_pointcloud 

Source
Expand description

Point-sampled geometry: an ordered set of 3D points with optional per-point channels.

§What this is

The value a laser scan or photogrammetry capture becomes once it is inside the kernel. Points carry no topology and no adjacency: a pointcloud is a sample of a surface, not a description of one, and pretending otherwise is where scan pipelines usually go wrong.

§What this is not

Not a file format. LAS, LAZ, E57, PCD and COPC parsing lives outside crates/, exactly as STEP and IFC do for B-rep. No wire, vendor, or source-format type may appear here — that boundary is what keeps the kernel portable, and it is recorded in the ingestion-boundary ADR.

Not an algorithm. Queries live in axiolid-spatial, reconstruction behind the reconstruction contract. This crate owns the value and its validation, nothing else.

§Attributes are optional and validated together

A scan may carry normals, colour, or intensity — or none of them. Each channel is stored separately so a cloud with no extra data pays nothing, and each is required to have exactly one entry per point. A channel of the wrong length is a construction error rather than a hazard discovered later by an algorithm indexing off the end.

Structs§

Colour
Per-point colour, in unsigned 8-bit channels.
PointCloud
An ordered set of 3D points with optional per-point channels.

Enums§

PointCloudError
Why a pointcloud could not be constructed.