Table of Contents

Class PclReadOptions

Namespace
PclIO
Assembly
PclIO.dll

Options controlling point cloud parsing and streaming. Values are validated when set.

public sealed record PclReadOptions : IEquatable<PclReadOptions>

Inheritance

Implements

Inherited Members

Properties

ApplyTransform

Whether to apply each scan's PclIO.PclScan.Transform to point positions: scale and translation, or the 4x4 matrix when the format supplies one. Rotation values are not applied.

public bool ApplyTransform { get; init; }

Property Value

bool

Default

Default options: no point limit, every point, transforms applied.

public static PclReadOptions Default { get; }

Property Value

PclReadOptions

MaxPoints

Maximum number of points yielded by one read call (a scan's ReadPoints, or ReadAllPoints across all scans), or null for all available points. Must not be negative; 0 yields no points.

public long? MaxPoints { get; init; }

Property Value

long?

Exceptions

ArgumentOutOfRangeException

The value is negative.

SubsampleStep

Subsampling step: 1 keeps every point, N keeps one point in N. Readers apply the step inside their own internal blocks (packets, chunks, clusters), so the spacing is approximate and depends on the format's block layout. Must be at least 1.

public int SubsampleStep { get; init; }

Property Value

int

Exceptions

ArgumentOutOfRangeException

The value is less than 1.