C# Класс Revit.SDK.Samples.CS.PointCloudEngine.PredefinedPointCloud

An implementation for a non file-based point cloud. In this implementaiton, the location of the cells, including their colors and options, are hardcoded.
Наследование: PointCloudAccessBase, IPointCloudAccess
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
CreatePointSetIterator ( PointCloudFilter rFilter, ElementId viewId ) : IPointSetIterator

The implementation of IPointCloudAccess.CreatePointSetIterator().

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().

PredefinedPointCloud ( String identifier ) : System

Constructs a new predefined point cloud access instance.

PredefinedPointCloud ( String identifier, bool randomizedPoints ) : System

Constructs a new predefined point cloud access instance.

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

The implementation of IPointCloudAccess.ReadPoints().

Приватные методы

Метод Описание
Setup ( bool randomizedPoints ) : void

Sets up the predefined point cloud.

Описание методов

CreatePointSetIterator() публичный Метод

The implementation of IPointCloudAccess.CreatePointSetIterator().
public CreatePointSetIterator ( PointCloudFilter rFilter, ElementId viewId ) : IPointSetIterator
rFilter PointCloudFilter The filter.
viewId ElementId The view id (unused).
Результат IPointSetIterator

GetColorEncoding() публичный Метод

The implementation of IPointCloudAccess.GetColorEncoding()
public GetColorEncoding ( ) : PointCloudColorEncoding
Результат PointCloudColorEncoding

GetExtent() публичный Метод

The implementation of IPointCloudAccess.GetExtent().
public GetExtent ( ) : Outline
Результат Outline

GetName() публичный Метод

The implementation of IPointCloudAccess.GetName().
public GetName ( ) : String
Результат String

GetOffset() публичный Метод

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
Результат XYZ

GetUnitsToFeetConversionFactor() публичный Метод

The implementation of IPointCloudAccess.GetUnitsToFeetConversionFactor().
public GetUnitsToFeetConversionFactor ( ) : double
Результат double

PredefinedPointCloud() публичный Метод

Constructs a new predefined point cloud access instance.
public PredefinedPointCloud ( String identifier ) : System
identifier String The identifier of the point cloud.
Результат System

PredefinedPointCloud() публичный Метод

Constructs a new predefined point cloud access instance.
public PredefinedPointCloud ( String identifier, bool randomizedPoints ) : System
identifier String The identifier of the point cloud.
randomizedPoints bool True to use randomization for the point location and number, false otherwise.
Результат System

ReadPoints() публичный Метод

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.
Результат int