Table of Contents

Class E57Scan

Namespace
PclIO.Formats.E57
Assembly
PclIO.dll

An individual scan inside an ASTM E57 file.

public sealed class E57Scan : PclScan

Inheritance

Inherited Members

Properties

FileOffset

Physical file offset of the compressed-vector section that holds the points, or 0 when there is none.

public ulong FileOffset { get; }

Property Value

ulong

HasColors

True when the prototype has red, green and blue fields in the range 0..255.

public override bool HasColors { get; }

Property Value

bool

HasIntensities

True when the prototype has an intensity field in the range 0..255.

public override bool HasIntensities { 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

Number of points declared by the file; the count is not checked against the point data until it is read.

public override long PointCount { get; }

Property Value

long

Methods

ReadPoints(PclReadOptions?)

Streams the points of this scan. Intensity is the stored byte divided by 255. PclIO.PclReadOptions.SubsampleStep is applied to the record index across the whole scan.

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

Parameters

options PclReadOptions?

Read options, or null for PclIO.PclReadOptions.Default.

Returns

IEnumerable<PclPoint>

Exceptions

NotSupportedException

The point encoding is not decoded (see PclIO.Formats.E57.E57Document).

InvalidDataException

A page checksum, packet or section header is invalid, or the data ends early.