Class E57Scan
- Namespace
- PclIO.Formats.E57
- Assembly
- PclIO.dll
An individual scan inside an ASTM E57 file.
public sealed class E57Scan : PclScanInheritance
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
HasColors
True when the prototype has red, green and blue fields in the range 0..255.
public override bool HasColors { get; }Property Value
HasIntensities
True when the prototype has an intensity field in the range 0..255.
public override bool HasIntensities { get; }Property Value
Id
Identifier of the scan within its document (taken from the file when it has one).
public override string Id { get; }Property Value
Name
Display name of the scan.
public override string Name { get; }Property Value
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
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
optionsPclReadOptions?-
Read options, or null for PclIO.PclReadOptions.Default.
Returns
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.