Table of Contents

Class RcpProjectDocument

Namespace
PclIO.Formats.Recap
Assembly
PclIO.dll

Reads a ReCap project archive (.rcp) and lists its scan nodes. Referenced .rcs files are looked up next to the project; paths stored in the archive are never followed outside the project folder. Node transforms are parsed and exposed as data but are not applied to points.

public sealed class RcpProjectDocument : PclDocument, IDisposable

Inheritance

Implements

Inherited Members

Properties

Kind

The format kind of this document.

public override PclFileKind Kind { get; }

Property Value

PclFileKind

ProjectId

Project identifier from the manifest; empty when the manifest has none.

public string ProjectId { get; }

Property Value

string

Scans

The scans contained in the document, in file order.

public override IReadOnlyList<PclScan> Scans { get; }

Property Value

IReadOnlyList<PclScan>

Methods

Open(string, PclReadOptions?)

Opens an .rcp archive and parses its XML manifest. The manifest is limited to 64 MiB, 64 levels of nesting, 1,000,000 elements and 65,536 scan nodes; larger input is rejected.

public static RcpProjectDocument Open(string path, PclReadOptions? options = null)

Parameters

path string
options PclReadOptions?

Returns

RcpProjectDocument

Exceptions

FileNotFoundException

The file does not exist.

InvalidDataException

The archive or manifest is missing, malformed or exceeds a limit.