C# Class Revit.SDK.Samples.CS.PointCloudEngine.FileBasedPointCloud

An implementation for a file-based point cloud.
Inheritance: PointCloudAccessBase, IPointCloudAccess
Datei anzeigen Open project: AMEE/revit

Public Methods

Method Description
CreatePointSetIterator ( PointCloudFilter rFilter, ElementId viewId ) : IPointSetIterator

The implementation of IPointCloudAccess.CreatePointSetIterator().

FileBasedPointCloud ( String fileName ) : System

Constructs a new XML-based point cloud access.

GetColorEncoding ( ) : PointCloudColorEncoding

The implementation of IPointCloudAccess.GetColorEncoding()

GetExtent ( ) : Outline

The implementation of IPointCloudAccess.GetExtent().

GetName ( ) : String

The implementation of IPointCloudAccess.GetName().

GetOffset ( ) : XYZ

The implementation of IPointCloudAccess.GetOffset().

This method is not used by Revit and will be removed in a later pre-release build.

GetUnitsToFeetConversionFactor ( ) : double

The implementation of IPointCloudAccess.GetUnitsToFeetConversionFactor().

ReadPoints ( PointCloudFilter rFilter, ElementId viewId, IntPtr buffer, int nBufferSize ) : int

The implementation of IPointCloudAccess.ReadPoints().

Private Methods

Method Description
Setup ( ) : void

Sets up the file-based point cloud.

Method Details

CreatePointSetIterator() public method

The implementation of IPointCloudAccess.CreatePointSetIterator().
public CreatePointSetIterator ( PointCloudFilter rFilter, ElementId viewId ) : IPointSetIterator
rFilter PointCloudFilter The filter.
viewId ElementId The view id (unused).
return IPointSetIterator

FileBasedPointCloud() public method

Constructs a new XML-based point cloud access.
public FileBasedPointCloud ( String fileName ) : System
fileName String The full path to the file.
return System

GetColorEncoding() public method

The implementation of IPointCloudAccess.GetColorEncoding()
public GetColorEncoding ( ) : PointCloudColorEncoding
return PointCloudColorEncoding

GetExtent() public method

The implementation of IPointCloudAccess.GetExtent().
public GetExtent ( ) : Outline
return Outline

GetName() public method

The implementation of IPointCloudAccess.GetName().
public GetName ( ) : String
return String

GetOffset() public method

The implementation of IPointCloudAccess.GetOffset().
This method is not used by Revit and will be removed in a later pre-release build.
public GetOffset ( ) : XYZ
return XYZ

GetUnitsToFeetConversionFactor() public method

The implementation of IPointCloudAccess.GetUnitsToFeetConversionFactor().
public GetUnitsToFeetConversionFactor ( ) : double
return double

ReadPoints() public method

The implementation of IPointCloudAccess.ReadPoints().
public ReadPoints ( PointCloudFilter rFilter, ElementId viewId, IntPtr buffer, int nBufferSize ) : int
rFilter PointCloudFilter The filter.
viewId ElementId The view id (unused).
buffer System.IntPtr The point cloud buffer.
nBufferSize int The maximum number of points.
return int