Table of Contents

Struct PclPoint

Namespace
PclIO
Assembly
PclIO.dll

Represents a single 3D point cloud sample.

public readonly record struct PclPoint : IEquatable<PclPoint>

Implements

Inherited Members

Constructors

PclPoint(PclVector3, PclColor?, float?, PclVector3?, byte?, ulong)

Represents a single 3D point cloud sample.

public PclPoint(PclVector3 Position, PclColor? Color = null, float? Intensity = null, PclVector3? Normal = null, byte? Classification = null, ulong Index = 0)

Parameters

Position PclVector3

Position, in the scan's local space or transformed when PclIO.PclReadOptions.ApplyTransform is set.

Color PclColor?

Color, or null when the source has none.

Intensity float?

Intensity as stored by the format (scale is format specific), or null.

Normal PclVector3?

Unit normal, or null when the source has none.

Classification byte?

Class code, or null when the source has none.

Index ulong

Running number of the point within the read call that produced it; not an index into the source file.

Properties

Classification

Class code, or null when the source has none.

public byte? Classification { get; init; }

Property Value

byte?

Color

Color, or null when the source has none.

public PclColor? Color { get; init; }

Property Value

PclColor?

Index

Running number of the point within the read call that produced it; not an index into the source file.

public ulong Index { get; init; }

Property Value

ulong

Intensity

Intensity as stored by the format (scale is format specific), or null.

public float? Intensity { get; init; }

Property Value

float?

Normal

Unit normal, or null when the source has none.

public PclVector3? Normal { get; init; }

Property Value

PclVector3?

Position

Position, in the scan's local space or transformed when PclIO.PclReadOptions.ApplyTransform is set.

public PclVector3 Position { get; init; }

Property Value

PclVector3

X

X coordinate of PclIO.PclPoint.Position.

public double X { get; }

Property Value

double

Y

Y coordinate of PclIO.PclPoint.Position.

public double Y { get; }

Property Value

double

Z

Z coordinate of PclIO.PclPoint.Position.

public double Z { get; }

Property Value

double

Methods

ToString()

Formats position, color and intensity, independent of the current culture.

public override string ToString()

Returns

string