Show / Hide Table of Contents

Class LasPointReader

A reader for points in LAZ or LAS format

Inheritance
System.Object
LasPointReader
Implements
System.IDisposable
IPointReader
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Fusee.PointCloud.Las.Desktop
Assembly: Fusee.PointCloud.Las.Desktop.dll
Syntax
public class LasPointReader : IDisposable, IPointReader

Constructors

LasPointReader()

A LASPointReader can open point files encoded by the las format v. 1.4 with the following extensions:

  • *.asc
  • *.bil
  • *.bin
  • *.dtm
  • *.las
  • *.ply
  • *.qfit
  • *.shp
  • *.txt
  • *.laz
Declaration
public LasPointReader()

LasPointReader(String)

A LASPointReader can open point files encoded by the las format v. 1.4 with the following extensions:

  • *.asc
  • *.bil
  • *.bin
  • *.dtm
  • *.las
  • *.ply
  • *.qfit
  • *.shp
  • *.txt
  • *.laz
Declaration
public LasPointReader(string filePath)
Parameters
Type Name Description
System.String filePath

The path to a las encoded file.

Properties

MetaInfo

The point cloud meta data, usually stored in the header of the las file.

Declaration
public LasMetaInfo MetaInfo { get; }
Property Value
Type Description
LasMetaInfo

PointAccessor

Declaration
public IPointAccessor PointAccessor { get; }
Property Value
Type Description
IPointAccessor

PointType

Declaration
public PointType PointType { get; }
Property Value
Type Description
PointType

Methods

Dispose()

Declaration
public void Dispose()

Dispose(Boolean)

Declaration
protected virtual void Dispose(bool disposing)
Parameters
Type Name Description
System.Boolean disposing

Finalize()

Declaration
protected void Finalize()

GetOctree()

Declaration
public IPointCloudOctree GetOctree()
Returns
Type Description
IPointCloudOctree

GetPointCloudComponent(RenderMode)

Declaration
public IPointCloud GetPointCloudComponent(RenderMode renderMode)
Parameters
Type Name Description
RenderMode renderMode
Returns
Type Description
IPointCloud

LoadNodeData<TPoint>(OctantId)

Declaration
public TPoint[] LoadNodeData<TPoint>(OctantId id)
    where TPoint : new()
Parameters
Type Name Description
OctantId id
Returns
Type Description
TPoint[]
Type Parameters
Name Description
TPoint

LoadNodeData<TPoint>(String, IPointAccessor)

Declaration
public TPoint[] LoadNodeData<TPoint>(string id, IPointAccessor pointAccessor)
    where TPoint : new()
Parameters
Type Name Description
System.String id
IPointAccessor pointAccessor
Returns
Type Description
TPoint[]
Type Parameters
Name Description
TPoint

LoadPointsForNodeAsync<TPoint>(String, IPointAccessor)

Declaration
public Task<TPoint[]> LoadPointsForNodeAsync<TPoint>(string guid, IPointAccessor pointAccessor)
    where TPoint : new()
Parameters
Type Name Description
System.String guid
IPointAccessor pointAccessor
Returns
Type Description
System.Threading.Tasks.Task<TPoint[]>
Type Parameters
Name Description
TPoint

ReadNextPoint<TPoint>(ref TPoint, IPointAccessor)

Reads the next point and writes it to the given point

Declaration
public bool ReadNextPoint<TPoint>(ref TPoint point, IPointAccessor pa)
    where TPoint : new()
Parameters
Type Name Description
TPoint point
IPointAccessor pa
Returns
Type Description
System.Boolean
Type Parameters
Name Description
TPoint

ReadNPoints<TPoint>(Int32, IPointAccessor)

Reads the given amount of points from stream

Declaration
public TPoint[] ReadNPoints<TPoint>(int n, IPointAccessor pa)
    where TPoint : new()
Parameters
Type Name Description
System.Int32 n
IPointAccessor pa
Returns
Type Description
TPoint[]
Type Parameters
Name Description
TPoint
Exceptions
Type Condition
System.IO.FileNotFoundException

Implements

System.IDisposable
IPointReader
Generated by DocFX
GitHub Repo
Back to top