Table of Contents

Class RcsScan

Namespace
PclIO.Formats.Recap
Assembly
PclIO.dll

Individual scan of an RCS file.

public sealed class RcsScan : PclScan

Inheritance

Inherited Members

Properties

Bounds

Bounds of the scan, or PclIO.PclBounds.Empty when the file does not state them.

public override PclBounds Bounds { get; }

Property Value

PclBounds

HasColors

Always true: a fixed constant of the supported layout, not read from the file.

public override bool HasColors { get; }

Property Value

bool

HasIntensities

Always true: a fixed constant of the supported layout, not read from the file.

public override bool HasIntensities { get; }

Property Value

bool

HasNormals

Always true: a fixed constant of the supported layout, not read from the file; single points may still have no normal.

public override bool HasNormals { get; }

Property Value

bool

Id

Identifier of the scan within its document (taken from the file when it has one).

public override string Id { get; }

Property Value

string

Name

Display name of the scan.

public override string Name { get; }

Property Value

string

PointCount

Point count declared in the file header; it is not cross-checked against the node table.

public override long PointCount { get; }

Property Value

long

Transform

Transform from the scan's local space to the project space, or PclIO.PclTransform.Identity when none is stored.

public override PclTransform Transform { get; }

Property Value

PclTransform

Methods

ReadPoints(PclReadOptions?)

Streams points from the node table (experimental, major version 3 only). Throws System.NotSupportedException for other versions or node payloads that do not match the known layout, and System.IO.InvalidDataException when the node table is inconsistent with the file size. Scale and translation of the header transform are applied when requested; rotation is not.

public override IEnumerable<PclPoint> ReadPoints(PclReadOptions? options = null)

Parameters

options PclReadOptions?

Returns

IEnumerable<PclPoint>